Skip to content

Commit

Permalink
minor: suppress pmd violation on long by design PackageObjectFactory.…
Browse files Browse the repository at this point in the history
…fillChecksFromCodingPackage method
  • Loading branch information
romani committed Jan 17, 2020
1 parent c837622 commit c35e934
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion config/pmd-main.xml
Expand Up @@ -58,5 +58,13 @@
"/>
</properties>
</rule>

<rule ref="category/java/design.xml/ExcessiveMethodLength">
<properties>
<!-- unfortunate cases -->
<property name="violationSuppressXPath"
value="//ClassOrInterfaceDeclaration[@Image='PackageObjectFactory']
//MethodDeclaration[@Name='fillChecksFromCodingPackage']
"/>
</properties>
</rule>
</ruleset>

0 comments on commit c35e934

Please sign in to comment.