1
1
<ruleset xmlns =" http://pmd.sourceforge.net/ruleset/2.0.0"
2
2
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
- xsi : schemaLocation =" http://pmd.sourceforge.net/ruleset/2.0.0 http ://pmd.sourceforge.net /ruleset_2_0_0.xsd"
3
+ xsi : schemaLocation =" http://pmd.sourceforge.net/ruleset/2.0.0 https ://pmd.sourceforge.io /ruleset_2_0_0.xsd"
4
4
name =" PMD Ruleset"
5
5
>
6
6
<description >
11
11
</description >
12
12
<rule ref =" category/java/bestpractices.xml/AvoidUsingHardCodedIP" />
13
13
<rule ref =" category/java/bestpractices.xml/CheckResultSet" />
14
- <rule ref =" category/java/bestpractices.xml/UnusedImports" />
15
14
<rule ref =" category/java/bestpractices.xml/UnusedFormalParameter" />
16
15
<rule ref =" category/java/bestpractices.xml/UnusedLocalVariable" />
17
16
<rule ref =" category/java/bestpractices.xml/UnusedPrivateField" />
18
17
<rule ref =" category/java/bestpractices.xml/UnusedPrivateMethod" />
19
- <rule ref =" category/java/codestyle.xml/DontImportJavaLang" />
20
- <rule ref =" category/java/codestyle.xml/DuplicateImports" />
21
18
<rule ref =" category/java/codestyle.xml/ExtendsObject" />
22
19
<rule ref =" category/java/codestyle.xml/ForLoopShouldBeWhileLoop" />
23
20
<rule ref =" category/java/codestyle.xml/TooManyStaticImports" />
24
21
<rule ref =" category/java/codestyle.xml/UnnecessaryFullyQualifiedName" />
22
+ <rule ref =" category/java/codestyle.xml/UnnecessaryImport" />
25
23
<rule ref =" category/java/codestyle.xml/UnnecessaryModifier" />
26
24
<rule ref =" category/java/codestyle.xml/UnnecessaryReturn" />
27
25
<rule ref =" category/java/codestyle.xml/UselessParentheses" />
47
45
<rule ref =" category/java/errorprone.xml/EmptySynchronizedBlock" />
48
46
<rule ref =" category/java/errorprone.xml/EmptyTryBlock" />
49
47
<rule ref =" category/java/errorprone.xml/EmptyWhileStmt" />
50
- <rule ref =" category/java/errorprone.xml/ImportFromSamePackage" />
51
48
<rule ref =" category/java/errorprone.xml/JumbledIncrementer" />
52
49
<rule ref =" category/java/errorprone.xml/MisplacedNullCheck" />
53
50
<rule ref =" category/java/errorprone.xml/OverrideBothEqualsAndHashcode" />
61
58
<rule ref =" category/java/multithreading.xml/DoubleCheckedLocking" />
62
59
<rule ref =" category/java/performance.xml/BigIntegerInstantiation" />
63
60
<rule ref =" category/java/performance.xml/BooleanInstantiation" />
64
- </ruleset >
61
+ </ruleset >
0 commit comments