Since PMD was updated, we can use those rules
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
<rule ref="category/java/bestpractices.xml/PrimitiveWrapperInstantiation" />
|
<rule ref="category/java/bestpractices.xml/PrimitiveWrapperInstantiation" />
|
||||||
<rule ref="category/java/bestpractices.xml/UnusedFormalParameter" />
|
<rule ref="category/java/bestpractices.xml/UnusedFormalParameter" />
|
||||||
<rule ref="category/java/bestpractices.xml/UnusedLocalVariable" />
|
<rule ref="category/java/bestpractices.xml/UnusedLocalVariable" />
|
||||||
<!-- <rule ref="category/java/bestpractices.xml/UnusedPrivateField" />-->
|
<rule ref="category/java/bestpractices.xml/UnusedPrivateField" />
|
||||||
<rule ref="category/java/bestpractices.xml/UnusedPrivateMethod" />
|
<rule ref="category/java/bestpractices.xml/UnusedPrivateMethod" />
|
||||||
|
|
||||||
<rule ref="category/java/codestyle.xml/ExtendsObject" />
|
<rule ref="category/java/codestyle.xml/ExtendsObject" />
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
<rule ref="category/java/codestyle.xml/UnnecessaryFullyQualifiedName" />
|
<rule ref="category/java/codestyle.xml/UnnecessaryFullyQualifiedName" />
|
||||||
<rule ref="category/java/codestyle.xml/UnnecessaryImport" />
|
<rule ref="category/java/codestyle.xml/UnnecessaryImport" />
|
||||||
<rule ref="category/java/codestyle.xml/UnnecessaryReturn" />
|
<rule ref="category/java/codestyle.xml/UnnecessaryReturn" />
|
||||||
<!-- <rule ref="category/java/codestyle.xml/UnnecessarySemicolon" />-->
|
<rule ref="category/java/codestyle.xml/UnnecessarySemicolon" />
|
||||||
<rule ref="category/java/codestyle.xml/UselessQualifiedThis" />
|
<rule ref="category/java/codestyle.xml/UselessQualifiedThis" />
|
||||||
<rule ref="category/java/design.xml/SimplifiedTernary" />
|
<rule ref="category/java/design.xml/SimplifiedTernary" />
|
||||||
<rule ref="category/java/design.xml/UselessOverridingMethod" />
|
<rule ref="category/java/design.xml/UselessOverridingMethod" />
|
||||||
|
|||||||
Reference in New Issue
Block a user