Skip to content

Commit 7d862e6

Browse files
committed
Remove deprecated PMD rules.
1 parent 6aa3665 commit 7d862e6

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

src/site/resources/pmd/pmd-ruleset.xml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@
2626
<!-- Default ruleset for maven-pmd-plugin -->
2727
<rule ref="category/java/bestpractices.xml/AvoidUsingHardCodedIP"/>
2828
<rule ref="category/java/bestpractices.xml/CheckResultSet"/>
29-
<rule ref="category/java/bestpractices.xml/UnusedImports"/>
3029
<rule ref="category/java/bestpractices.xml/UnusedFormalParameter"/>
3130
<rule ref="category/java/bestpractices.xml/UnusedLocalVariable"/>
3231
<rule ref="category/java/bestpractices.xml/UnusedPrivateField"/>
3332
<rule ref="category/java/bestpractices.xml/UnusedPrivateMethod"/>
34-
<rule ref="category/java/codestyle.xml/DontImportJavaLang"/>
35-
<rule ref="category/java/codestyle.xml/DuplicateImports"/>
3633
<rule ref="category/java/codestyle.xml/ExtendsObject"/>
3734
<rule ref="category/java/codestyle.xml/ForLoopShouldBeWhileLoop"/>
3835
<!-- See custom rules -->
@@ -54,16 +51,7 @@
5451
<rule ref="category/java/errorprone.xml/ClassCastExceptionWithToArray"/>
5552
<rule ref="category/java/errorprone.xml/DontUseFloatTypeForLoopIndices"/>
5653
<rule ref="category/java/errorprone.xml/EmptyCatchBlock"/>
57-
<rule ref="category/java/errorprone.xml/EmptyFinallyBlock"/>
58-
<rule ref="category/java/errorprone.xml/EmptyIfStmt"/>
59-
<rule ref="category/java/errorprone.xml/EmptyInitializer"/>
60-
<rule ref="category/java/errorprone.xml/EmptyStatementBlock"/>
6154
<rule ref="category/java/errorprone.xml/EmptyStatementNotInLoop"/>
62-
<rule ref="category/java/errorprone.xml/EmptySwitchStatements"/>
63-
<rule ref="category/java/errorprone.xml/EmptySynchronizedBlock"/>
64-
<rule ref="category/java/errorprone.xml/EmptyTryBlock"/>
65-
<rule ref="category/java/errorprone.xml/EmptyWhileStmt"/>
66-
<rule ref="category/java/errorprone.xml/ImportFromSamePackage"/>
6755
<rule ref="category/java/errorprone.xml/JumbledIncrementer"/>
6856
<rule ref="category/java/errorprone.xml/MisplacedNullCheck"/>
6957
<rule ref="category/java/errorprone.xml/OverrideBothEqualsAndHashcode"/>
@@ -76,7 +64,6 @@
7664
<rule ref="category/java/multithreading.xml/DontCallThreadRun"/>
7765
<rule ref="category/java/multithreading.xml/DoubleCheckedLocking"/>
7866
<rule ref="category/java/performance.xml/BigIntegerInstantiation"/>
79-
<rule ref="category/java/performance.xml/BooleanInstantiation"/>
8067

8168
<!-- Custom rules. -->
8269

0 commit comments

Comments
 (0)