Skip to content

Commit

Permalink
Ignore the UnusedModifier PMD test
Browse files Browse the repository at this point in the history
Change-Id: I92ca55f26e95f188dfb11adf086b47896630a2fe
Signed-off-by: John May <john.wilkinsonmay@gmail.com>
  • Loading branch information
egonw authored and johnmay committed Aug 7, 2013
1 parent 3a2c4a3 commit 61e9e64
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions pmd/customUnused.xml
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<ruleset name="customUnused">

<description>
This ruleset checks the CDK sources for bad code.
</description>

<rule ref="rulesets/java/unusedcode.xml">
<exclude name="UnusedModifier"/>
</rule>

</ruleset>
2 changes: 1 addition & 1 deletion pmd/unused.xml
Expand Up @@ -11,6 +11,6 @@

<!-- The rule sets that come with PMD -->

<rule ref="rulesets/java/unusedcode.xml"/>
<rule ref="pmd/customUnused.xml"/>

</ruleset>

0 comments on commit 61e9e64

Please sign in to comment.