The new Java rule FieldNamingConventions (java-codestyle)
Detects field names that don't comply to a given convention. It defaults to standard Java convention of using camelCase, but can be configured with ease for e.g. constants or static fields.
This commit is contained in:
parent
f153d3eece
commit
e2a131e908
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
|
||||||
<property name="ignoreEnumDeclarations" value="false"/>
|
<property name="ignoreEnumDeclarations" value="false"/>
|
||||||
</properties>
|
</properties>
|
||||||
</rule>
|
</rule>
|
||||||
|
<rule ref="category/java/codestyle.xml/FieldNamingConventions" />
|
||||||
<rule ref="category/java/codestyle.xml/ForLoopShouldBeWhileLoop"/>
|
<rule ref="category/java/codestyle.xml/ForLoopShouldBeWhileLoop"/>
|
||||||
<rule ref="category/java/codestyle.xml/ForLoopsMustUseBraces"/>
|
<rule ref="category/java/codestyle.xml/ForLoopsMustUseBraces"/>
|
||||||
<rule ref="category/java/codestyle.xml/GenericsNaming"/>
|
<rule ref="category/java/codestyle.xml/GenericsNaming"/>
|
||||||
|
|
Loading…
Reference in a new issue