|
12 | 12 | <rule ref="category/java/bestpractices.xml/AvoidReassigningParameters"/>
|
13 | 13 | <rule ref="category/java/bestpractices.xml/CheckResultSet"/>
|
14 | 14 | <rule ref="category/java/bestpractices.xml/DoubleBraceInitialization"/>
|
15 |
| - <rule ref="category/java/bestpractices.xml/OneDeclarationPerLine"> |
16 |
| - <properties> |
17 |
| - <property name="strictMode" value="false"/> |
18 |
| - </properties> |
19 |
| - </rule> |
20 |
| - <rule ref="category/java/bestpractices.xml/SwitchStmtsShouldHaveDefault"/> |
| 15 | + <rule ref="category/java/bestpractices.xml/NonExhaustiveSwitch"/> |
| 16 | + <rule ref="category/java/bestpractices.xml/PrimitiveWrapperInstantiation" /> |
| 17 | + <rule ref="category/java/bestpractices.xml/SimplifiableTestAssertion" /> |
21 | 18 | <rule ref="category/java/bestpractices.xml/UnusedFormalParameter"/>
|
22 |
| - <rule ref="category/java/bestpractices.xml/UnusedImports"/> |
23 | 19 | <rule ref="category/java/bestpractices.xml/UnusedLocalVariable"/>
|
24 | 20 | <rule ref="category/java/bestpractices.xml/UnusedPrivateField"/>
|
25 | 21 | <rule ref="category/java/bestpractices.xml/UnusedPrivateMethod"/>
|
26 | 22 |
|
27 | 23 | <rule ref="category/java/codestyle.xml/ClassNamingConventions"/>
|
28 |
| - <rule ref="category/java/codestyle.xml/DefaultPackage"/> |
29 |
| - <rule ref="category/java/codestyle.xml/DontImportJavaLang"/> |
| 24 | + <rule ref="category/java/codestyle.xml/CommentDefaultAccessModifier" /> |
| 25 | + <rule ref="category/java/codestyle.xml/EmptyControlStatement" /> |
30 | 26 | <rule ref="category/java/codestyle.xml/ExtendsObject"/>
|
31 | 27 | <rule ref="category/java/codestyle.xml/FieldDeclarationsShouldBeAtStartOfClass"/>
|
32 | 28 | <rule ref="category/java/codestyle.xml/GenericsNaming"/>
|
33 | 29 | <rule ref="category/java/codestyle.xml/MethodNamingConventions"/>
|
34 | 30 | <rule ref="category/java/codestyle.xml/NoPackage"/>
|
35 | 31 | <rule ref="category/java/codestyle.xml/PackageCase"/>
|
| 32 | + <rule ref="category/java/codestyle.xml/UnnecessaryBoxing" /> |
36 | 33 | <rule ref="category/java/codestyle.xml/UnnecessaryConstructor"/>
|
37 | 34 | <rule ref="category/java/codestyle.xml/UnnecessaryFullyQualifiedName"/>
|
| 35 | + <rule ref="category/java/codestyle.xml/UnnecessaryImport" /> |
38 | 36 | <rule ref="category/java/codestyle.xml/UnnecessaryReturn"/>
|
| 37 | + <rule ref="category/java/codestyle.xml/UnnecessarySemicolon" /> |
39 | 38 |
|
40 | 39 | <rule ref="category/java/design.xml/AvoidThrowingNullPointerException"/>
|
41 | 40 | <rule ref="category/java/design.xml/AvoidThrowingRawExceptionTypes"/>
|
42 | 41 | <rule ref="category/java/design.xml/CollapsibleIfStatements"/>
|
43 |
| - <rule ref="category/java/design.xml/ExcessiveClassLength"/> |
44 |
| - <rule ref="category/java/design.xml/ExcessiveMethodLength"/> |
45 | 42 | <rule ref="category/java/design.xml/ExcessiveParameterList"/>
|
46 | 43 | <rule ref="category/java/design.xml/LogicInversion"/>
|
| 44 | + <rule ref="category/java/design.xml/NcssCount" /> |
47 | 45 | <rule ref="category/java/design.xml/NPathComplexity"/>
|
48 |
| - <rule ref="category/java/design.xml/SimplifyBooleanAssertion"/> |
49 | 46 | <rule ref="category/java/design.xml/SimplifyBooleanExpressions"/>
|
50 | 47 | <rule ref="category/java/design.xml/SimplifyBooleanReturns"/>
|
51 | 48 | <rule ref="category/java/design.xml/SingularField"/>
|
|
62 | 59 | <rule ref="category/java/errorprone.xml/BrokenNullCheck"/>
|
63 | 60 | <rule ref="category/java/errorprone.xml/CheckSkipResult"/>
|
64 | 61 | <rule ref="category/java/errorprone.xml/CompareObjectsWithEquals"/>
|
65 |
| - <rule ref="category/java/errorprone.xml/DoNotCallSystemExit"/> |
| 62 | + <rule ref="category/java/errorprone.xml/DoNotTerminateVM" /> |
66 | 63 | <rule ref="category/java/errorprone.xml/DontUseFloatTypeForLoopIndices"/>
|
67 | 64 | <rule ref="category/java/errorprone.xml/EmptyFinalizer"/>
|
68 |
| - <rule ref="category/java/errorprone.xml/EmptyFinallyBlock"/> |
69 |
| - <rule ref="category/java/errorprone.xml/EmptyIfStmt"/> |
70 |
| - <rule ref="category/java/errorprone.xml/EmptyInitializer"/> |
71 |
| - <rule ref="category/java/errorprone.xml/EmptyStatementBlock"/> |
72 |
| - <rule ref="category/java/errorprone.xml/EmptyStatementNotInLoop"/> |
73 |
| - <rule ref="category/java/errorprone.xml/EmptySwitchStatements"/> |
74 |
| - <rule ref="category/java/errorprone.xml/EmptySynchronizedBlock"/> |
75 |
| - <rule ref="category/java/errorprone.xml/EmptyTryBlock"/> |
76 | 65 | <rule ref="category/java/errorprone.xml/EqualsNull"/>
|
| 66 | + <rule ref="category/java/errorprone.xml/ImplicitSwitchFallThrough" /> |
77 | 67 | <rule ref="category/java/errorprone.xml/JumbledIncrementer"/>
|
78 | 68 | <rule ref="category/java/errorprone.xml/JUnitSpelling"/>
|
79 | 69 | <rule ref="category/java/errorprone.xml/JUnitStaticSuite"/>
|
80 | 70 | <rule ref="category/java/errorprone.xml/MethodWithSameNameAsEnclosingClass"/>
|
81 | 71 | <rule ref="category/java/errorprone.xml/MisplacedNullCheck"/>
|
82 |
| - <rule ref="category/java/errorprone.xml/MissingBreakInSwitch"/> |
83 | 72 | <rule ref="category/java/errorprone.xml/MissingStaticMethodInNonInstantiatableClass">
|
84 | 73 | <properties>
|
85 | 74 | <property name="annotations"
|
86 | 75 | value="org.springframework.beans.factory.annotation.Autowired, javax.inject.Inject"/>
|
87 | 76 | </properties>
|
88 | 77 | </rule>
|
89 |
| - <rule ref="category/java/errorprone.xml/NonCaseLabelInSwitchStatement"/> |
| 78 | + <rule ref="category/java/errorprone.xml/NonCaseLabelInSwitch"/> |
90 | 79 | <rule ref="category/java/errorprone.xml/NonStaticInitializer"/>
|
91 | 80 | <rule ref="category/java/errorprone.xml/ReturnFromFinallyBlock"/>
|
92 | 81 | <rule ref="category/java/errorprone.xml/UnconditionalIfStatement"/>
|
|
98 | 87 | <rule ref="category/java/multithreading.xml/AvoidThreadGroup"/>
|
99 | 88 | <rule ref="category/java/multithreading.xml/DontCallThreadRun"/>
|
100 | 89 |
|
101 |
| - <rule ref="category/java/performance.xml/BooleanInstantiation"/> |
102 | 90 | <rule ref="category/java/performance.xml/StringInstantiation"/>
|
103 | 91 | <rule ref="category/java/performance.xml/StringToString"/>
|
104 | 92 | <rule ref="category/java/performance.xml/UseStringBufferLength"/>
|
|
0 commit comments