Fixes #389 RuleSetCompatibility - old ruleset name was unusedcode

This commit is contained in:
Andreas Dangel
2017-05-05 11:52:43 +02:00
parent 39eb79f58e
commit 4a03cd7eb7

View File

@ -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");
}