Checkstyle enforce no redundant modifiers 02/41302/2
authorMichael Vorburger <vorburger@redhat.com>
Mon, 4 Jul 2016 20:09:52 +0000 (22:09 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 7 Jul 2016 07:00:34 +0000 (07:00 +0000)
see
http://checkstyle.sourceforge.net/config_modifier.html#RedundantModifier

Change-Id: I711de6ea9dc374435af5ba7403eef53ff2a99ce8
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
checkstyle/src/main/resources/odl_checks.xml

index ace2a742520dcf3da1b8209100c6519c6c35914e..d8ef72003ab27679155ccbb4fdbb8833e9fbb5ac 100644 (file)
@@ -79,6 +79,7 @@
         <module name="FallThrough"/>
         <module name="UpperEll"/>
         <module name="ModifierOrder"/>
+        <module name="RedundantModifier"/>
         <module name="EmptyLineSeparator">
             <property name="allowNoEmptyLineBetweenFields" value="true"/>
             <!-- No PACKAGE_DEF token, as we like our license header to be glue to "package" statement, to save 1 line screen space -->