From 3e04bcad07090f7a943d04425ef8a036e5199141 Mon Sep 17 00:00:00 2001 From: egonw Date: Tue, 1 Feb 2005 11:15:55 +0000 Subject: [PATCH] Updated for new PMD version git-svn-id: https://cdk.svn.sourceforge.net/svnroot/cdk/trunk/cdk@3695 eb4e18e3-b210-0410-a6ab-dec725e4b171 --- pmd.xml | 38 +++++++++++++++++++++++++------------- pmd/custom-data.xml | 4 +++- pmd/custom-test.xml | 22 ++++++++++++++++++++++ pmd/custom.xml | 2 ++ pmd/customCDK.xml | 22 +++++++++++++++++++--- pmd/customJunit.xml | 12 ++++++++++++ pmd/customOptimization.xml | 12 ++++++++++++ 7 files changed, 95 insertions(+), 17 deletions(-) create mode 100644 pmd/custom-test.xml create mode 100644 pmd/customJunit.xml create mode 100644 pmd/customOptimization.xml diff --git a/pmd.xml b/pmd.xml index 699d3acbf95..01b37fbd182 100644 --- a/pmd.xml +++ b/pmd.xml @@ -15,12 +15,14 @@ - - + - + @@ -30,7 +32,7 @@ - + @@ -40,7 +42,7 @@ - + @@ -50,7 +52,7 @@ - + @@ -60,7 +62,7 @@ - + @@ -70,7 +72,7 @@ - + @@ -80,7 +82,7 @@ - + @@ -90,7 +92,7 @@ - + @@ -100,7 +102,7 @@ - + @@ -110,7 +112,7 @@ - + @@ -120,7 +122,7 @@ - + @@ -130,4 +132,14 @@ + + + + + + + + + + diff --git a/pmd/custom-data.xml b/pmd/custom-data.xml index d177ef3a70c..8d82946ac11 100644 --- a/pmd/custom-data.xml +++ b/pmd/custom-data.xml @@ -1,5 +1,5 @@ - + This ruleset checks the CDK sources for bad code. @@ -17,6 +17,8 @@ + + diff --git a/pmd/custom-test.xml b/pmd/custom-test.xml new file mode 100644 index 00000000000..6ceaf648840 --- /dev/null +++ b/pmd/custom-test.xml @@ -0,0 +1,22 @@ + + + + + This ruleset checks the CDK sources for bad code. + + + + + + + + + + + + + + + diff --git a/pmd/custom.xml b/pmd/custom.xml index a9c2e6ed648..8c1c814f8f7 100644 --- a/pmd/custom.xml +++ b/pmd/custom.xml @@ -17,9 +17,11 @@ + + diff --git a/pmd/customCDK.xml b/pmd/customCDK.xml index 7704238cc1c..adf860dbc21 100644 --- a/pmd/customCDK.xml +++ b/pmd/customCDK.xml @@ -19,12 +19,28 @@ - + + + Detects instantiation of more than one LoggingTool. + + 3 + + + + + + + + + + diff --git a/pmd/customJunit.xml b/pmd/customJunit.xml new file mode 100644 index 00000000000..cae216c357a --- /dev/null +++ b/pmd/customJunit.xml @@ -0,0 +1,12 @@ + + + + + This ruleset checks the CDK sources for bad code. + + + + + + + diff --git a/pmd/customOptimization.xml b/pmd/customOptimization.xml new file mode 100644 index 00000000000..5cb83db282e --- /dev/null +++ b/pmd/customOptimization.xml @@ -0,0 +1,12 @@ + + + + + This ruleset checks the CDK sources for bad code. + + + + + + +