forked from phoedos/pmd
Fixes #389 RuleSetCompatibility - old ruleset name was unusedcode
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user