mirror of https://github.com/apache/cassandra
Change style guide to include @Override
patch by David Capwell for CASSANDRA-16096
This commit is contained in:
parent
419099c92b
commit
614d7d06f4
|
|
@ -35,7 +35,6 @@ Exception handling
|
|||
Boilerplate
|
||||
-----------
|
||||
|
||||
- Avoid redundant ``@Override`` annotations when implementing abstract or interface methods.
|
||||
- Do not implement equals or hashcode methods unless they are actually needed.
|
||||
- Prefer public final fields to private fields with getters. (But prefer encapsulating behavior in "real" methods to either.)
|
||||
- Prefer requiring initialization in the constructor to setters.
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<component name="ProjectCodeStyleSettingsManager">
|
||||
<option name="PER_PROJECT_SETTINGS">
|
||||
<value>
|
||||
<option name="INSERT_OVERRIDE_ANNOTATION" value="false" />
|
||||
<option name="INSERT_OVERRIDE_ANNOTATION" value="true" />
|
||||
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="100" />
|
||||
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="100" />
|
||||
<option name="IMPORT_LAYOUT_TABLE">
|
||||
|
|
@ -272,4 +272,4 @@
|
|||
</option>
|
||||
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
|
||||
</component>
|
||||
</project>
|
||||
</project>
|
||||
|
|
|
|||
Loading…
Reference in New Issue