Permalink
Browse files

minor: old PMD suppressions were removed

  • Loading branch information...
romani committed Oct 7, 2015
1 parent 3a0c8e6 commit 7c5092271d95f34b5ddcb160e85ea460daaadb5d
Showing with 0 additions and 25 deletions.
  1. +0 −25 config/pmd.xml
View
@@ -161,13 +161,6 @@
</properties>
</rule>
<rule ref="rulesets/java/design.xml/SingularField">
<properties>
<!-- maxLineLength is deprecated since 6.10 release -->
<property name="violationSuppressRegex" value="^Perhaps 'maxLineLength' could be replaced by a local variable.$"/>
</properties>
</rule>
<rule ref="rulesets/java/empty.xml"/>
<rule ref="rulesets/java/finalizers.xml"/>
<rule ref="rulesets/java/imports.xml"/>
@@ -222,24 +215,12 @@
<exclude name="UseStringBufferForStringAppends"/>
</rule>
<rule ref="rulesets/java/strictexception.xml"/>
<rule ref="rulesets/java/strictexception.xml/AvoidCatchingGenericException">
<properties>
<!-- till #1244 and #1245 -->
<property name="violationSuppressXPath" value="//ClassOrInterfaceDeclaration[@Image='Checker' or @Image='CheckstyleAntTask']"/>
</properties>
</rule>
<rule ref="rulesets/java/strictexception.xml/ExceptionAsFlowControl">
<properties>
<!-- till #1159 -->
<property name="violationSuppressXPath" value="//ClassOrInterfaceDeclaration[@Image='PackageObjectFactory']"/>
</properties>
</rule>
<rule ref="rulesets/java/strictexception.xml/AvoidCatchingThrowable">
<properties>
<!-- log name of problematic file and do not crash completely (bug 694111) -->
<property name="violationSuppressXPath" value="//ClassOrInterfaceDeclaration[@Image='TreeWalker']//MethodDeclarator[@Image='processFiltered']"/>
</properties>
</rule>
<rule ref="rulesets/java/strings.xml"/>
<rule ref="rulesets/java/sunsecure.xml/MethodReturnsInternalArray">
@@ -252,10 +233,4 @@
<rule ref="rulesets/java/unnecessary.xml"/>
<rule ref="rulesets/java/unusedcode.xml"/>
<rule ref="rulesets/java/unusedcode.xml/UnusedPrivateField">
<properties>
<!-- maxLineLength is deprecated since 6.10 release -->
<property name="violationSuppressRegex" value="^Avoid unused private fields such as 'maxLineLength'.$"/>
</properties>
</rule>
</ruleset>

0 comments on commit 7c50922

Please sign in to comment.