From 4a03cd7eb7de681ea1d3ebcf1b9e031ec13a987f Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 5 May 2017 11:52:43 +0200 Subject: [PATCH] Fixes #389 RuleSetCompatibility - old ruleset name was unusedcode --- .../java/net/sourceforge/pmd/RuleSetFactoryCompatibility.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-core/src/main/java/net/sourceforge/pmd/RuleSetFactoryCompatibility.java b/pmd-core/src/main/java/net/sourceforge/pmd/RuleSetFactoryCompatibility.java index 75276961d6..d13342b9df 100644 --- a/pmd-core/src/main/java/net/sourceforge/pmd/RuleSetFactoryCompatibility.java +++ b/pmd-core/src/main/java/net/sourceforge/pmd/RuleSetFactoryCompatibility.java @@ -65,7 +65,7 @@ public class RuleSetFactoryCompatibility { // PMD 5.6.0 addFilterRuleRenamed("java", "design", "AvoidConstantsInterface", "ConstantsInInterface"); // unused/UnusedModifier moved AND renamed, order is important! - addFilterRuleMoved("java", "unused", "unnecessary", "UnusedModifier"); + addFilterRuleMoved("java", "unusedcode", "unnecessary", "UnusedModifier"); addFilterRuleRenamed("java", "unnecessary", "UnusedModifier", "UnnecessaryModifier"); }