|
20 | 20 | <rule ref="category/java/bestpractices.xml/CheckResultSet" />
|
21 | 21 | <rule ref="category/java/bestpractices.xml/ConstantsInInterface" />
|
22 | 22 | <rule ref="category/java/bestpractices.xml/DefaultLabelNotLastInSwitchStmt" />
|
| 23 | + <rule ref="category/java/bestpractices.xml/ForLoopCanBeForeach" /> |
23 | 24 | <!--<rule ref="category/java/bestpractices.xml/JUnit4SuitesShouldUseSuiteAnnotation" />-->
|
24 | 25 | <rule ref="category/java/bestpractices.xml/JUnit4TestShouldUseAfterAnnotation" />
|
25 | 26 | <rule ref="category/java/bestpractices.xml/JUnit4TestShouldUseBeforeAnnotation" />
|
|
138 | 139 | <rule ref="category/java/design.xml/CouplingBetweenObjects" />
|
139 | 140 | <!-- We use ModifiedCyclomaticComplexity -->
|
140 | 141 | <!--<rule ref="category/java/design.xml/CyclomaticComplexity" />-->
|
| 142 | + <!--<rule ref="category/java/design.xml/DataClass" />--> |
141 | 143 | <rule ref="category/java/design.xml/DoNotExtendJavaLangError" />
|
142 | 144 | <rule ref="category/java/design.xml/ExceptionAsFlowControl" />
|
143 | 145 | <rule ref="category/java/design.xml/ExcessiveClassLength" />
|
|
208 | 210 | <!--<rule ref="category/java/errorprone.xml/DataflowAnomalyAnalysis" />-->
|
209 | 211 | <rule ref="category/java/errorprone.xml/DoNotCallGarbageCollectionExplicitly" />
|
210 | 212 | <rule ref="category/java/errorprone.xml/DoNotCallSystemExit" />
|
| 213 | + <rule ref="category/java/errorprone.xml/DoNotExtendJavaLangThrowable" /> |
211 | 214 | <rule ref="category/java/errorprone.xml/DoNotThrowExceptionInFinally" />
|
212 | 215 | <rule ref="category/java/errorprone.xml/DontImportSun" />
|
213 | 216 | <rule ref="category/java/errorprone.xml/DontUseFloatTypeForLoopIndices" />
|
|
281 | 284 | <rule ref="category/java/performance.xml/AddEmptyString" />
|
282 | 285 | <rule ref="category/java/performance.xml/AppendCharacterWithChar" />
|
283 | 286 | <rule ref="category/java/performance.xml/AvoidArrayLoops" />
|
| 287 | + <rule ref="category/java/performance.xml/AvoidFileStream" /> |
284 | 288 | <rule ref="category/java/performance.xml/AvoidInstantiatingObjectsInLoops" />
|
285 | 289 | <rule ref="category/java/performance.xml/AvoidUsingShortType" />
|
286 | 290 | <rule ref="category/java/performance.xml/BigIntegerInstantiation" />
|
|
0 commit comments