|
35 | 35 | <rule ref="category/java/bestpractices.xml/LiteralsFirstInComparisons" />
|
36 | 36 | <rule ref="category/java/bestpractices.xml/LooseCoupling"/>
|
37 | 37 | <!-- <rule ref="category/java/bestpractices.xml/MethodReturnsInternalArray" /> -->
|
38 |
| - <rule ref="category/java/bestpractices.xml/MissingOverride"/> |
39 |
| - <rule ref="category/java/bestpractices.xml/OneDeclarationPerLine"/> |
| 38 | + <!-- TODO enable MissingOverride--> |
| 39 | + <!-- <rule ref="category/java/bestpractices.xml/MissingOverride"/> --> |
| 40 | + <!-- <rule ref="category/java/bestpractices.xml/OneDeclarationPerLine"/>--> |
40 | 41 | <rule ref="category/java/bestpractices.xml/PrimitiveWrapperInstantiation"/>
|
41 | 42 | <rule ref="category/java/bestpractices.xml/PreserveStackTrace"/>
|
42 | 43 | <!-- <rule ref="category/java/bestpractices.xml/ReplaceEnumerationWithIterator" /> -->
|
|
46 | 47 | <rule ref="category/java/bestpractices.xml/SwitchStmtsShouldHaveDefault"/>
|
47 | 48 | <!-- <rule ref="category/java/bestpractices.xml/SystemPrintln" /> -->
|
48 | 49 | <!-- <rule ref="category/java/bestpractices.xml/UnusedAssignment"/> -->
|
49 |
| - <rule ref="category/java/bestpractices.xml/UnusedFormalParameter"/> |
| 50 | + <!-- TODO enable UnusedFormalParameter--> |
| 51 | + <!--<rule ref="category/java/bestpractices.xml/UnusedFormalParameter"/> --> |
50 | 52 | <rule ref="category/java/bestpractices.xml/UnusedLocalVariable"/>
|
51 | 53 | <rule ref="category/java/bestpractices.xml/UnusedPrivateField"/>
|
52 | 54 | <rule ref="category/java/bestpractices.xml/UnusedPrivateMethod"/>
|
|
65 | 67 | <!-- <rule ref="category/java/codestyle.xml/LinguisticNaming" /> -->
|
66 | 68 | <rule ref="category/java/codestyle.xml/LocalVariableNamingConventions"/>
|
67 | 69 | <!-- <rule ref="category/java/codestyle.xml/LongVariable" /> -->
|
68 |
| - <rule ref="category/java/codestyle.xml/MethodNamingConventions"/> |
| 70 | + <!-- <rule ref="category/java/codestyle.xml/MethodNamingConventions"/>--> |
69 | 71 | <rule ref="category/java/codestyle.xml/PackageCase"/>
|
70 | 72 | <!-- <rule ref="category/java/codestyle.xml/ShortClassName" /> -->
|
71 | 73 | <!-- <rule ref="category/java/codestyle.xml/ShortMethodName" /> -->
|
|
113 | 115 | <rule ref="category/java/codestyle.xml/UnnecessaryModifier"/>
|
114 | 116 | <rule ref="category/java/codestyle.xml/UnnecessaryReturn"/>
|
115 | 117 | <!-- <rule ref="category/java/codestyle.xml/UseDiamondOperator" /> -->
|
116 |
| - <rule ref="category/java/codestyle.xml/UselessParentheses"/> |
| 118 | + <!-- <rule ref="category/java/codestyle.xml/UselessParentheses"/> --> |
117 | 119 | <rule ref="category/java/codestyle.xml/UselessQualifiedThis"/>
|
118 | 120 |
|
119 | 121 |
|
|
168 | 170 | <!-- <rule ref="category/java/design.xml/TooManyMethods" /> -->
|
169 | 171 | <rule ref="category/java/design.xml/UselessOverridingMethod"/>
|
170 | 172 | <!-- <rule ref="category/java/design.xml/UseObjectForClearerAPI" /> -->
|
171 |
| - <rule ref="category/java/design.xml/UseUtilityClass"/> |
| 173 | + <!-- <rule ref="category/java/design.xml/UseUtilityClass"/> --> |
172 | 174 |
|
173 | 175 |
|
174 | 176 | <!-- <rule ref="category/java/documentation.xml/CommentContent" /> -->
|
175 | 177 | <!-- <rule ref="category/java/documentation.xml/CommentRequired" /> -->
|
176 | 178 | <!-- <rule ref="category/java/documentation.xml/CommentSize" /> -->
|
177 |
| - <rule ref="category/java/documentation.xml/UncommentedEmptyConstructor"/> |
178 |
| - <rule ref="category/java/documentation.xml/UncommentedEmptyMethodBody"/> |
| 179 | + <!--<rule ref="category/java/documentation.xml/UncommentedEmptyConstructor"/>--> |
| 180 | + <!--<rule ref="category/java/documentation.xml/UncommentedEmptyMethodBody"/>--> |
179 | 181 |
|
180 | 182 |
|
181 | 183 |
|
|
211 | 213 | <rule ref="category/java/errorprone.xml/CloneMethodMustImplementCloneable"/>
|
212 | 214 | <rule ref="category/java/errorprone.xml/CloneMethodReturnTypeMustMatchClassName"/>
|
213 | 215 | <!-- <rule ref="category/java/errorprone.xml/CloneThrowsCloneNotSupportedException"/> deprecated since 6.35.0 -->
|
214 |
| - <rule ref="category/java/errorprone.xml/CloseResource"/> |
215 |
| - <rule ref="category/java/errorprone.xml/CompareObjectsWithEquals"/> |
| 216 | + <!--<rule ref="category/java/errorprone.xml/CloseResource"/>--> |
| 217 | + <!-- <rule ref="category/java/errorprone.xml/CompareObjectsWithEquals"/>--> |
216 | 218 | <rule ref="category/java/errorprone.xml/ComparisonWithNaN"/>
|
217 | 219 | <!-- <rule ref="category/java/errorprone.xml/ConstructorCallsOverridableMethod" /> -->
|
218 | 220 | <!-- <rule ref="category/java/errorprone.xml/DataflowAnomalyAnalysis" /> -->
|
|
248 | 250 | <rule ref="category/java/errorprone.xml/OverrideBothEqualsAndHashcode"/>
|
249 | 251 | <rule ref="category/java/errorprone.xml/ProperCloneImplementation"/>
|
250 | 252 | <rule ref="category/java/errorprone.xml/ProperLogger"/>
|
251 |
| - <rule ref="category/java/errorprone.xml/ReturnEmptyCollectionRatherThanNull"/> |
| 253 | + <!-- <rule ref="category/java/errorprone.xml/ReturnEmptyCollectionRatherThanNull"/> --> |
252 | 254 | <rule ref="category/java/errorprone.xml/ReturnFromFinallyBlock"/>
|
253 | 255 | <!-- <rule ref="category/java/errorprone.xml/SimpleDateFormatNeedsLocale" /> -->
|
254 | 256 | <rule ref="category/java/errorprone.xml/SingleMethodSingleton"/>
|
255 |
| - <rule ref="category/java/errorprone.xml/SingletonClassReturningNewInstance"/> |
| 257 | + <!--<rule ref="category/java/errorprone.xml/SingletonClassReturningNewInstance"/>--> |
256 | 258 | <!-- <rule ref="category/java/errorprone.xml/StaticEJBFieldShouldBeFinal" /> -->
|
257 | 259 | <!-- <rule ref="category/java/errorprone.xml/StringBufferInstantiationWithChar" /> -->
|
258 | 260 | <rule ref="category/java/errorprone.xml/SuspiciousEqualsMethodName"/>
|
259 | 261 | <rule ref="category/java/errorprone.xml/SuspiciousHashcodeMethodName"/>
|
260 | 262 | <rule ref="category/java/errorprone.xml/SuspiciousOctalEscape"/>
|
261 | 263 | <!-- <rule ref="category/java/errorprone.xml/TestClassWithoutTestCases" /> -->
|
262 |
| - <rule ref="category/java/errorprone.xml/UnconditionalIfStatement"/> |
| 264 | + <!-- <rule ref="category/java/errorprone.xml/UnconditionalIfStatement"/>--> |
263 | 265 | <!-- <rule ref="category/java/errorprone.xml/UnnecessaryBooleanAssertion" /> -->
|
264 | 266 | <!-- <rule ref="category/java/errorprone.xml/UnnecessaryCaseChange" /> -->
|
265 | 267 | <rule ref="category/java/errorprone.xml/UnnecessaryConversionTemporary"/>
|
266 | 268 | <rule ref="category/java/errorprone.xml/UnusedNullCheckInEquals"/>
|
267 | 269 | <!-- <rule ref="category/java/errorprone.xml/UseCorrectExceptionLogging" /> -->
|
268 | 270 | <rule ref="category/java/errorprone.xml/UseEqualsToCompareStrings"/>
|
269 | 271 | <rule ref="category/java/errorprone.xml/UselessOperationOnImmutable"/>
|
270 |
| - <rule ref="category/java/errorprone.xml/UseLocaleWithCaseConversions"/> |
| 272 | + <!-- <rule ref="category/java/errorprone.xml/UseLocaleWithCaseConversions"/> --> |
271 | 273 | <!-- <rule ref="category/java/errorprone.xml/UseProperClassLoader" /> -->
|
272 | 274 |
|
273 | 275 | <!-- Empty rules -->
|
274 | 276 | <rule ref="category/java/codestyle.xml/EmptyControlStatement"/>
|
275 |
| - <rule ref="category/java/codestyle.xml/UnnecessarySemicolon"/> |
| 277 | + <!-- <rule ref="category/java/codestyle.xml/UnnecessarySemicolon"/>--> |
276 | 278 | <rule ref="category/java/errorprone.xml/EmptyCatchBlock"/>
|
277 | 279 | <rule ref="category/java/errorprone.xml/EmptyFinalizer"/>
|
278 | 280 |
|
|
283 | 285 | <!-- <rule ref="category/java/multithreading.xml/DoNotUseThreads" /> -->
|
284 | 286 | <rule ref="category/java/multithreading.xml/DontCallThreadRun"/>
|
285 | 287 | <rule ref="category/java/multithreading.xml/DoubleCheckedLocking"/>
|
286 |
| - <rule ref="category/java/multithreading.xml/NonThreadSafeSingleton"/> |
| 288 | + <!-- TODO enable NonThreadSafeSingleton --> |
| 289 | + <!-- <rule ref="category/java/multithreading.xml/NonThreadSafeSingleton"/> --> |
287 | 290 | <rule ref="category/java/multithreading.xml/UnsynchronizedStaticFormatter"/>
|
288 | 291 | <!-- <rule ref="category/java/multithreading.xml/UseConcurrentHashMap" /> -->
|
289 | 292 | <rule ref="category/java/multithreading.xml/UseNotifyAllInsteadOfNotify"/>
|
|
0 commit comments