Skip to content
Permalink
Browse files
Update PMD rulesets to work ok with latest pmd
  • Loading branch information
dkulp committed Jul 9, 2019
1 parent 3e8abfa commit ee90a11ec142b3fc82fffc128f090ab31813782d
Showing 1 changed file with 4 additions and 0 deletions.
@@ -31,6 +31,7 @@
<exclude-pattern>.*.class</exclude-pattern>
<exclude-pattern>.*.txt</exclude-pattern>
<exclude-pattern>.*NOTICE</exclude-pattern>
<exclude-pattern>.*generated.*</exclude-pattern>

<rule ref="category/java/bestpractices.xml">
<exclude name="AbstractClassWithoutAbstractMethod" />
@@ -39,10 +40,12 @@
<exclude name="ArrayIsStoredDirectly" />
<exclude name="AvoidPrintStackTrace" />
<exclude name="AvoidReassigningParameters" />
<exclude name="AvoidReassigningLoopVariables" />
<exclude name="AvoidStringBufferField" />
<exclude name="AvoidUsingHardCodedIP" />
<exclude name="ConstantsInInterface" />
<exclude name="ForLoopCanBeForeach" />
<exclude name="ForLoopVariableCount" />
<exclude name="GuardLogStatement" />
<exclude name="JUnitAssertionsShouldIncludeMessage" />
<exclude name="JUnitTestContainsTooManyAsserts" />
@@ -71,6 +74,7 @@
<exclude name="AvoidRethrowingException" />
<exclude name="AvoidThrowingNullPointerException" />
<exclude name="AvoidThrowingRawExceptionTypes" />
<exclude name="AvoidUncheckedExceptionsInSignatures" />
<exclude name="CouplingBetweenObjects" />
<exclude name="CyclomaticComplexity" />
<exclude name="DataClass" />

0 comments on commit ee90a11

Please sign in to comment.