Enforce no redundant modifiers via Checkstyle

This check also helps find utility classes which should not allow
instantiation.
This commit is contained in:
Andrew Gaul 2014-08-26 12:23:04 -07:00
parent 1b824afbfc
commit 92d5091845
1 changed files with 1 additions and 4 deletions

View File

@ -41,10 +41,7 @@
</module>
<module name="NoWhitespaceBefore"/>
<module name="RedundantImport"/>
<module name="RedundantModifier">
<!-- VARIABLE_DEF disabled -->
<property name="tokens" value="METHOD_DEF, ANNOTATION_FIELD_DEF, INTERFACE_DEF"/>
</module>
<module name="RedundantModifier"/>
<module name="SimplifyBooleanExpression"/>
<module name="TypeName"/>
<module name="UnnecessaryParentheses"/>