cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [2/2] cxf-build-utils git commit: Update PMD rulesets to work without warnings with latest maven-pmd-plugin and in eclipse
Date Mon, 09 Feb 2015 13:22:30 GMT
Update PMD rulesets to work without warnings with latest maven-pmd-plugin and in eclipse


Project: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/commit/b3cb6667
Tree: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/tree/b3cb6667
Diff: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/diff/b3cb6667

Branch: refs/heads/master
Commit: b3cb66677d88d9ca1fa1ca965d6c6140477755cb
Parents: d43e340
Author: Daniel Kulp <dkulp@apache.org>
Authored: Mon Feb 9 08:21:55 2015 -0500
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Mon Feb 9 08:21:55 2015 -0500

----------------------------------------------------------------------
 buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml | 8 ++++----
 buildtools/src/main/resources/cxf-pmd-ruleset.xml           | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-build-utils/blob/b3cb6667/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml
----------------------------------------------------------------------
diff --git a/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml b/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml
index 349a8cc..0967dad 100644
--- a/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml
+++ b/buildtools/src/main/resources/cxf-pmd-ruleset-generated.xml
@@ -46,7 +46,7 @@
     <!--<rule ref="rulesets/java/basic.xml/EmptyCatchBlock"/>-->
     <!--<rule ref="rulesets/java/basic.xml/EmptyFinallyBlock"/>-->
     <!--<rule ref="rulesets/java/basic.xml/EmptyIfStmt"/>-->
-    <rule ref="rulesets/java/basic.xml/EmptyStatementNotInLoop"/>
+    <rule ref="rulesets/java/empty.xml/EmptyStatementNotInLoop"/>
     <!--<rule ref="rulesets/java/basic.xml/EmptyStaticInitializer"/>-->
     <!--<rule ref="rulesets/java/basic.xml/EmptySwitchStatements"/>-->
     <!--<rule ref="rulesets/java/basic.xml/EmptySynchronizedBlock"/>-->
@@ -57,9 +57,9 @@
     <!--<rule ref="rulesets/java/basic.xml/OverrideBothEqualsAndHashcode"/>-->
     <rule ref="rulesets/java/basic.xml/ReturnFromFinallyBlock"/>
     <rule ref="rulesets/java/basic.xml/UnconditionalIfStatement"/>
-    <rule ref="rulesets/java/basic.xml/UnnecessaryConversionTemporary"/>
-    <rule ref="rulesets/java/basic.xml/UnnecessaryFinalModifier"/>
-    <rule ref="rulesets/java/basic.xml/UnnecessaryReturn"/>
+    <rule ref="rulesets/java/unnecessary.xml/UnnecessaryConversionTemporary"/>
+    <rule ref="rulesets/java/unnecessary.xml/UnnecessaryFinalModifier"/>
+    <rule ref="rulesets/java/unnecessary.xml/UnnecessaryReturn"/>
     <!--<rule ref="rulesets/java/basic.xml/UselessOverridingMethod"/>-->
 
     <!--<rule ref="rulesets/java/braces.xml/ForLoopsMustUseBraces"/>-->

http://git-wip-us.apache.org/repos/asf/cxf-build-utils/blob/b3cb6667/buildtools/src/main/resources/cxf-pmd-ruleset.xml
----------------------------------------------------------------------
diff --git a/buildtools/src/main/resources/cxf-pmd-ruleset.xml b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
index afefe51..195ff96 100644
--- a/buildtools/src/main/resources/cxf-pmd-ruleset.xml
+++ b/buildtools/src/main/resources/cxf-pmd-ruleset.xml
@@ -37,7 +37,7 @@
     <!--<rule ref="rulesets/java/basic.xml/EmptyCatchBlock"/>-->
     <!--<rule ref="rulesets/java/basic.xml/EmptyFinallyBlock"/>-->
     <!--<rule ref="rulesets/java/basic.xml/EmptyIfStmt"/>-->
-    <rule ref="rulesets/java/basic.xml/EmptyStatementNotInLoop"/>
+    <rule ref="rulesets/java/empty.xml/EmptyStatementNotInLoop"/>
     <!--<rule ref="rulesets/java/basic.xml/EmptyStaticInitializer"/>-->
     <!--<rule ref="rulesets/java/basic.xml/EmptySwitchStatements"/>-->
     <!--<rule ref="rulesets/java/basic.xml/EmptySynchronizedBlock"/>-->
@@ -48,9 +48,9 @@
     <!--<rule ref="rulesets/java/basic.xml/OverrideBothEqualsAndHashcode"/>-->
     <rule ref="rulesets/java/basic.xml/ReturnFromFinallyBlock"/>
     <rule ref="rulesets/java/basic.xml/UnconditionalIfStatement"/>
-    <rule ref="rulesets/java/basic.xml/UnnecessaryConversionTemporary"/>
-    <rule ref="rulesets/java/basic.xml/UnnecessaryFinalModifier"/>
-    <rule ref="rulesets/java/basic.xml/UnnecessaryReturn"/>
+    <rule ref="rulesets/java/unnecessary.xml/UnnecessaryConversionTemporary"/>
+    <rule ref="rulesets/java/unnecessary.xml/UnnecessaryFinalModifier"/>
+    <rule ref="rulesets/java/unnecessary.xml/UnnecessaryReturn"/>
     <!--<rule ref="rulesets/java/basic.xml/UselessOverridingMethod"/>-->
 
     <!--<rule ref="rulesets/java/braces.xml/ForLoopsMustUseBraces"/>-->


Mime
View raw message