Merge pull request #8 from kemitix/pmd-6.7.0-rules-update

Replace rules deprecated in PMD 6.7.0
This commit is contained in:
Paul Campbell 2018-09-03 09:03:31 +01:00 committed by GitHub
commit c82988db42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,11 +98,13 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
<property name="ignoreEnumDeclarations" value="false"/>
</properties>
</rule>
<rule ref="category/java/codestyle.xml/FieldNamingConventions" />
<rule ref="category/java/codestyle.xml/ForLoopShouldBeWhileLoop"/>
<rule ref="category/java/codestyle.xml/ForLoopsMustUseBraces"/>
<rule ref="category/java/codestyle.xml/GenericsNaming"/>
<rule ref="category/java/codestyle.xml/IfElseStmtsMustUseBraces"/>
<rule ref="category/java/codestyle.xml/IfStmtsMustUseBraces"/>
<rule ref="category/java/codestyle.xml/LinguisticNaming" />
<rule ref="category/java/codestyle.xml/LocalVariableCouldBeFinal"/>
<rule ref="category/java/codestyle.xml/LongVariable"/>
<rule ref="category/java/codestyle.xml/MethodArgumentCouldBeFinal"/>
@ -114,7 +116,6 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
<rule ref="category/java/codestyle.xml/ShortClassName"/>
<rule ref="category/java/codestyle.xml/ShortMethodName"/>
<rule ref="category/java/codestyle.xml/ShortVariable"/>
<rule ref="category/java/codestyle.xml/SuspiciousConstantFieldName"/>
<rule ref="category/java/codestyle.xml/TooManyStaticImports"/><!-- to review -->
<rule ref="category/java/codestyle.xml/UnnecessaryConstructor"/>
<rule ref="category/java/codestyle.xml/UnnecessaryFullyQualifiedName"/>
@ -123,7 +124,6 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
<rule ref="category/java/codestyle.xml/UnnecessaryReturn"/>
<rule ref="category/java/codestyle.xml/UselessParentheses"/>
<rule ref="category/java/codestyle.xml/UselessQualifiedThis"/>
<rule ref="category/java/codestyle.xml/VariableNamingConventions"><!-- to review --></rule>
<rule ref="category/java/codestyle.xml/WhileLoopsMustUseBraces"/>
<!-- Design -->