Skip to content

Commit

Permalink
pmd should alert against unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Gal Rogozinski committed Oct 8, 2018
1 parent 364e015 commit 1255bf7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,18 @@
<rule ref="category/java/bestpractices.xml/UseAssertSameInsteadOfAssertTrue" deprecated="true"/>
<rule ref="category/java/bestpractices.xml/UseAssertTrueInsteadOfAssertEquals" deprecated="true"/>
<rule ref="category/java/bestpractices.xml/JUnitAssertionsShouldIncludeMessage" deprecated="true"/>
<rule ref="category/java/bestpractices.xml/UnusedFormalParameter" deprecated="true"/>
<rule ref="category/java/bestpractices.xml/UnusedLocalVariable" deprecated="true"/>
<rule ref="category/java/bestpractices.xml/UnusedPrivateField" deprecated="true"/>
<rule ref="category/java/bestpractices.xml/UnusedPrivateMethod" deprecated="true"/>
<rule ref="category/java/bestpractices.xml/UnusedImports" deprecated="true"/>

<rule ref="category/java/codestyle.xml/ExtendsObject" deprecated="true"/>
<rule ref="category/java/codestyle.xml/UnnecessaryModifier" name="UnnecessaryFinalModifier" deprecated="true"/>
<rule ref="category/java/codestyle.xml/AvoidFinalLocalVariable" deprecated="true"/>
<rule ref="category/java/codestyle.xml/FieldDeclarationsShouldBeAtStartOfClass" deprecated="true"/>
<rule ref="category/java/codestyle.xml/UnnecessaryFullyQualifiedName" deprecated="true"/>
<rule ref="category/java/codestyle.xml/DuplicateImports" deprecated="true"/>
<rule ref="category/java/bestpractices.xml/UnusedImports" deprecated="true"/>
<rule ref="category/java/codestyle.xml/MIsLeadingVariableName" name="MisleadingVariableName" deprecated="true"/>
<rule ref="category/java/codestyle.xml/SuspiciousConstantFieldName" deprecated="true"/>

Expand Down

0 comments on commit 1255bf7

Please sign in to comment.