Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://cdk.svn.sourceforge.net/svnroot/cdk/trunk/cdk@3695 eb4e18e3-b210-0410-a6ab-dec725e4b171
- Loading branch information
egonw
committed
Feb 1, 2005
1 parent
347f99e
commit 3e04bca
Showing
7 changed files
with
95 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="custom"> | ||
|
||
<description> | ||
This ruleset checks the CDK sources for bad code. | ||
</description> | ||
|
||
<!-- In the below paths, rulesets/ refers to the classpath, and the | ||
pmd/ refers to this directory, and needs to be excluded because | ||
the are called from ../pmd.xml --> | ||
|
||
<!-- The rule sets that come with PMD --> | ||
|
||
<rule ref="rulesets/basic.xml"/> | ||
<rule ref="rulesets/unusedcode.xml"/> | ||
<rule ref="rulesets/imports.xml"/> | ||
|
||
<!-- Rules specific for CDK --> | ||
|
||
<rule ref="pmd/customJunit.xml"/> | ||
|
||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="customJunit"> | ||
|
||
<description> | ||
This ruleset checks the CDK sources for bad code. | ||
</description> | ||
|
||
<rule ref="rulesets/junit.xml"> | ||
<exclude name="JUnitAssertionsShouldIncludeMessage"/> | ||
</rule> | ||
|
||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="customOptimization"> | ||
|
||
<description> | ||
This ruleset checks the CDK sources for bad code. | ||
</description> | ||
|
||
<rule ref="rulesets/junit.xml"> | ||
<exclude name="MethodArgumentCouldBeFinal"/> | ||
</rule> | ||
|
||
</ruleset> |