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 6ba101a194..f6cfd3dba0 100644 --- a/pmd-core/src/main/java/net/sourceforge/pmd/RuleSetFactoryCompatibility.java +++ b/pmd-core/src/main/java/net/sourceforge/pmd/RuleSetFactoryCompatibility.java @@ -75,6 +75,7 @@ public class RuleSetFactoryCompatibility { addFilterRuleMoved("java", "typeresolution", "clone", "CloneMethodMustImplementCloneable"); addFilterRuleMoved("java", "typeresolution", "imports", "UnusedImports"); addFilterRuleMoved("java", "typeresolution", "strictexception", "SignatureDeclareThrowsException"); + addFilterRuleRenamed("java", "naming", "MisleadingVariableName", "MIsLeadingVariableName"); } void addFilterRuleRenamed(String language, String ruleset, String oldName, String newName) {