AbbreviationAsWordInName: fix to work with CONSTANT naming convention

Having the ignoreStatic and ignoreFinal flags disabled meant that constants (static final) had to be in CamelCase, which conflicts with the ConstantName check.
This commit is contained in:
Paul Campbell 2016-09-11 08:14:27 +01:00
parent 43afb58d8f
commit 52bc4ff5c3

View file

@ -30,8 +30,6 @@
<module name="TreeWalker">
<module name="AbbreviationAsWordInName"> <!-- enforce proper CamelCase -->
<property name="ignoreStatic" value="false"/>
<property name="ignoreFinal" value="false"/>
</module>
<module name="AbstractClassName"/> <!-- enforce Abstract.* in abstract class names -->
<module name="AnnotationLocation"/> <!-- annotations should be on line by themselves -->