Update selected Rules (#32)
* Remove DontImportJavaLang * Use rule category/java/codestyle.xml/UnnecessaryImport * Fix xsi:schemaLocation * Remove rule category/java/bestpractices.xml/UnusedImports * Remove rule category/java/codestyle.xml/DuplicateImports * Remove rule category/java/errorprone.xml/CloneThrowsCloneNotSupportedException * Remove rule category/java/errorprone.xml/ImportFromSamePackage
This commit is contained in:
parent
e2a4838d5e
commit
a92a79f398
1 changed files with 3 additions and 7 deletions
|
@ -3,8 +3,8 @@
|
||||||
<ruleset name="kemitix-pmd-ruleset-java"
|
<ruleset name="kemitix-pmd-ruleset-java"
|
||||||
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
|
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd
|
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">
|
||||||
http://pmd.sourceforge.net/ruleset/2.0.0 ">
|
|
||||||
<description>Kemitix PMD Ruleset Java</description>
|
<description>Kemitix PMD Ruleset Java</description>
|
||||||
|
|
||||||
<!-- Best Practices -->
|
<!-- Best Practices -->
|
||||||
|
@ -52,7 +52,6 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
|
||||||
<property name="checkAll" value="true"/>
|
<property name="checkAll" value="true"/>
|
||||||
</properties>
|
</properties>
|
||||||
</rule>
|
</rule>
|
||||||
<rule ref="category/java/bestpractices.xml/UnusedImports"/>
|
|
||||||
<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"/>
|
||||||
|
@ -79,8 +78,6 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
|
||||||
<rule ref="category/java/codestyle.xml/CallSuperInConstructor"/>
|
<rule ref="category/java/codestyle.xml/CallSuperInConstructor"/>
|
||||||
<rule ref="category/java/codestyle.xml/ClassNamingConventions"/>
|
<rule ref="category/java/codestyle.xml/ClassNamingConventions"/>
|
||||||
<rule ref="category/java/codestyle.xml/ConfusingTernary"/>
|
<rule ref="category/java/codestyle.xml/ConfusingTernary"/>
|
||||||
<rule ref="category/java/codestyle.xml/DontImportJavaLang"/>
|
|
||||||
<rule ref="category/java/codestyle.xml/DuplicateImports"/>
|
|
||||||
<rule ref="category/java/codestyle.xml/EmptyMethodInAbstractClassShouldBeAbstract"/>
|
<rule ref="category/java/codestyle.xml/EmptyMethodInAbstractClassShouldBeAbstract"/>
|
||||||
<rule ref="category/java/codestyle.xml/ExtendsObject"/>
|
<rule ref="category/java/codestyle.xml/ExtendsObject"/>
|
||||||
<rule ref="category/java/codestyle.xml/FieldDeclarationsShouldBeAtStartOfClass">
|
<rule ref="category/java/codestyle.xml/FieldDeclarationsShouldBeAtStartOfClass">
|
||||||
|
@ -103,6 +100,7 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
|
||||||
<rule ref="category/java/codestyle.xml/TooManyStaticImports"/><!-- to review -->
|
<rule ref="category/java/codestyle.xml/TooManyStaticImports"/><!-- to review -->
|
||||||
<rule ref="category/java/codestyle.xml/UnnecessaryConstructor"/>
|
<rule ref="category/java/codestyle.xml/UnnecessaryConstructor"/>
|
||||||
<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/UnnecessaryLocalBeforeReturn"/>
|
<rule ref="category/java/codestyle.xml/UnnecessaryLocalBeforeReturn"/>
|
||||||
<rule ref="category/java/codestyle.xml/UnnecessaryModifier"/>
|
<rule ref="category/java/codestyle.xml/UnnecessaryModifier"/>
|
||||||
<rule ref="category/java/codestyle.xml/UnnecessaryReturn"/>
|
<rule ref="category/java/codestyle.xml/UnnecessaryReturn"/>
|
||||||
|
@ -222,7 +220,6 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
|
||||||
<rule ref="category/java/errorprone.xml/CloneMethodMustBePublic"/>
|
<rule ref="category/java/errorprone.xml/CloneMethodMustBePublic"/>
|
||||||
<rule ref="category/java/errorprone.xml/CloneMethodMustImplementCloneable"/>
|
<rule ref="category/java/errorprone.xml/CloneMethodMustImplementCloneable"/>
|
||||||
<rule ref="category/java/errorprone.xml/CloneMethodReturnTypeMustMatchClassName"/>
|
<rule ref="category/java/errorprone.xml/CloneMethodReturnTypeMustMatchClassName"/>
|
||||||
<rule ref="category/java/errorprone.xml/CloneThrowsCloneNotSupportedException"/>
|
|
||||||
<rule ref="category/java/errorprone.xml/CloseResource"/>
|
<rule ref="category/java/errorprone.xml/CloseResource"/>
|
||||||
<rule ref="category/java/errorprone.xml/CompareObjectsWithEquals"/>
|
<rule ref="category/java/errorprone.xml/CompareObjectsWithEquals"/>
|
||||||
<rule ref="category/java/errorprone.xml/ConstructorCallsOverridableMethod"/>
|
<rule ref="category/java/errorprone.xml/ConstructorCallsOverridableMethod"/>
|
||||||
|
@ -254,7 +251,6 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
|
||||||
<rule ref="category/java/errorprone.xml/FinalizeOverloaded" />
|
<rule ref="category/java/errorprone.xml/FinalizeOverloaded" />
|
||||||
<rule ref="category/java/errorprone.xml/FinalizeShouldBeProtected" />
|
<rule ref="category/java/errorprone.xml/FinalizeShouldBeProtected" />
|
||||||
<rule ref="category/java/errorprone.xml/IdempotentOperations" />
|
<rule ref="category/java/errorprone.xml/IdempotentOperations" />
|
||||||
<rule ref="category/java/errorprone.xml/ImportFromSamePackage" />
|
|
||||||
<rule ref="category/java/errorprone.xml/InstantiationToGetClass" />
|
<rule ref="category/java/errorprone.xml/InstantiationToGetClass" />
|
||||||
<rule ref="category/java/errorprone.xml/InvalidLogMessageFormat" />
|
<rule ref="category/java/errorprone.xml/InvalidLogMessageFormat" />
|
||||||
<rule ref="category/java/errorprone.xml/JumbledIncrementer" />
|
<rule ref="category/java/errorprone.xml/JumbledIncrementer" />
|
||||||
|
|
Loading…
Reference in a new issue