diff --git a/pmd/rulesets/releases/42.xml b/pmd/rulesets/releases/42.xml index ef5d1056bb..fdf00ba9af 100644 --- a/pmd/rulesets/releases/42.xml +++ b/pmd/rulesets/releases/42.xml @@ -6,14 +6,19 @@ This ruleset contains links to rules that are new in PMD v4.2 </description> - <rule ref="rulesets/basic.xml/AvoidMultipleUnaryOperators"/> - <rule ref="rulesets/codesize.xml/TooManyMethods"/> - <rule ref="rulesets/controversial.xml/DoNotCallGarbageCollectionExplicitly"/> - <rule ref="rulesets/design.xml/ReturnEmptyArrayRatherThanNull"/> - <rule ref="rulesets/design.xml/AbstractClassWithoutAnyMethod"/> - <rule ref="rulesets/design.xml/TooFewBranchesForASwitchStatement"/> - <rule ref="rulesets/strictexception.xml/DoNotThrowExceptionInFinally"/> - <rule ref="rulesets/strings.xml/AvoidStringBufferField"/> - + <rule ref="rulesets/android.xml/DoNotHardCodeSDCard"/> + <rule ref="rulesets/controversial.xml/AvoidLiteralsInIfCondition"/> + <rule ref="rulesets/controversial.xml/UseConcurrentHashMap"/> + <rule ref="rulesets/strictexception.xml/AvoidCatchingGenericException"/> + <rule ref="rulesets/strictexception.xml/AvoidLosingExceptionInformation"/> + <rule ref="rulesets/naming.xml/GenericsNaming"/> + <rule ref="rulesets/jsp.xml/NoInlineScript"/> + <rule ref="rulesets/basic.xml/AvoidMultipleUnaryOperators"/> + <rule ref="rulesets/codesize.xml/TooManyMethods"/> + <rule ref="rulesets/controversial.xml/DoNotCallGarbageCollectionExplicitly"/> + <rule ref="rulesets/design.xml/ReturnEmptyArrayRatherThanNull"/> + <rule ref="rulesets/design.xml/AbstractClassWithoutAnyMethod"/> + <rule ref="rulesets/design.xml/TooFewBranchesForASwitchStatement"/> + <rule ref="rulesets/strictexception.xml/DoNotThrowExceptionInFinally"/> + <rule ref="rulesets/strings.xml/AvoidStringBufferField"/> </ruleset> -