|
@@ -62,7 +62,13 @@
|
|
|
-->
|
|
|
<module name="ModifierOrder" />
|
|
|
|
|
|
+ <!-- Checks that we don't include modifier where they are implied. For
|
|
|
+ example, this does not allow interface methods to be declared public
|
|
|
+ because they are *always* public. -->
|
|
|
<module name="RedundantModifier" />
|
|
|
+ <!-- Checks that all java files have a package declaration and that it
|
|
|
+ lines up with the directory structure. -->
|
|
|
+ <module name="PackageDeclaration"/>
|
|
|
|
|
|
<!-- We don't use Java's builtin serialization and we suppress all warning
|
|
|
about it. The flip side of that coin is that we shouldn't _try_ to use
|