fix pmd warnings
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
<rule ref="category/java/bestpractices.xml/ConstantsInInterface"/>
|
||||
<rule ref="category/java/bestpractices.xml/DefaultLabelNotLastInSwitchStmt"/>
|
||||
<rule ref="category/java/bestpractices.xml/ForLoopCanBeForeach"/>
|
||||
<rule ref="category/java/bestpractices.xml/GuardLogStatement"/>
|
||||
<!-- <rule ref="category/java/bestpractices.xml/GuardLogStatement"/>-->
|
||||
<!-- <rule ref="category/java/bestpractices.xml/JUnit4SuitesShouldUseSuiteAnnotation" /> -->
|
||||
<!-- <rule ref="category/java/bestpractices.xml/JUnit4TestShouldUseAfterAnnotation" /> -->
|
||||
<!-- <rule ref="category/java/bestpractices.xml/JUnit4TestShouldUseBeforeAnnotation" /> -->
|
||||
@ -150,7 +150,7 @@
|
||||
<rule ref="category/java/design.xml/FinalFieldCouldBeStatic"/>
|
||||
<!-- <rule ref="category/java/design.xml/GodClass" /> -->
|
||||
<!-- <rule ref="category/java/design.xml/ImmutableField" /> -->
|
||||
<rule ref="category/java/design.xml/LawOfDemeter"/>
|
||||
<!-- <rule ref="category/java/design.xml/LawOfDemeter"/>-->
|
||||
<rule ref="category/java/design.xml/LogicInversion"/>
|
||||
|
||||
<rule ref="category/java/design.xml/CyclomaticComplexity"/>
|
||||
@ -298,7 +298,7 @@
|
||||
<rule ref="category/java/multithreading.xml/DontCallThreadRun"/>
|
||||
<rule ref="category/java/multithreading.xml/DoubleCheckedLocking"/>
|
||||
<rule ref="category/java/multithreading.xml/NonThreadSafeSingleton"/>
|
||||
<rule ref="category/java/multithreading.xml/UnsynchronizedStaticDateFormatter"/>
|
||||
<!-- <rule ref="category/java/multithreading.xml/UnsynchronizedStaticDateFormatter"/>-->
|
||||
<!-- <rule ref="category/java/multithreading.xml/UseConcurrentHashMap" /> -->
|
||||
<rule ref="category/java/multithreading.xml/UseNotifyAllInsteadOfNotify"/>
|
||||
|
||||
|
Reference in New Issue
Block a user