|
26 | 26 | <!-- Default ruleset for maven-pmd-plugin --> |
27 | 27 | <rule ref="category/java/bestpractices.xml/AvoidUsingHardCodedIP"/> |
28 | 28 | <rule ref="category/java/bestpractices.xml/CheckResultSet"/> |
29 | | - <rule ref="category/java/bestpractices.xml/UnusedImports"/> |
30 | 29 | <rule ref="category/java/bestpractices.xml/UnusedFormalParameter"/> |
31 | 30 | <rule ref="category/java/bestpractices.xml/UnusedLocalVariable"/> |
32 | 31 | <rule ref="category/java/bestpractices.xml/UnusedPrivateField"/> |
33 | 32 | <rule ref="category/java/bestpractices.xml/UnusedPrivateMethod"/> |
34 | | - <rule ref="category/java/codestyle.xml/DontImportJavaLang"/> |
35 | | - <rule ref="category/java/codestyle.xml/DuplicateImports"/> |
36 | 33 | <rule ref="category/java/codestyle.xml/ExtendsObject"/> |
37 | 34 | <rule ref="category/java/codestyle.xml/ForLoopShouldBeWhileLoop"/> |
38 | 35 | <!-- See custom rules --> |
|
54 | 51 | <rule ref="category/java/errorprone.xml/ClassCastExceptionWithToArray"/> |
55 | 52 | <rule ref="category/java/errorprone.xml/DontUseFloatTypeForLoopIndices"/> |
56 | 53 | <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"/> |
61 | 54 | <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"/> |
67 | 55 | <rule ref="category/java/errorprone.xml/JumbledIncrementer"/> |
68 | 56 | <rule ref="category/java/errorprone.xml/MisplacedNullCheck"/> |
69 | 57 | <rule ref="category/java/errorprone.xml/OverrideBothEqualsAndHashcode"/> |
|
76 | 64 | <rule ref="category/java/multithreading.xml/DontCallThreadRun"/> |
77 | 65 | <rule ref="category/java/multithreading.xml/DoubleCheckedLocking"/> |
78 | 66 | <rule ref="category/java/performance.xml/BigIntegerInstantiation"/> |
79 | | - <rule ref="category/java/performance.xml/BooleanInstantiation"/> |
80 | 67 |
|
81 | 68 | <!-- Custom rules. --> |
82 | 69 |
|
|
0 commit comments