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 f732f86a82..0dee6a59fc 100644 --- a/pmd-core/src/main/java/net/sourceforge/pmd/RuleSetFactoryCompatibility.java +++ b/pmd-core/src/main/java/net/sourceforge/pmd/RuleSetFactoryCompatibility.java @@ -78,6 +78,10 @@ public class RuleSetFactoryCompatibility { addFilterRuleRenamed("java", "naming", "MisleadingVariableName", "MIsLeadingVariableName"); addFilterRuleRenamed("java", "unnecessary", "UnnecessaryFinalModifier", "UnnecessaryModifier"); addFilterRuleRenamed("java", "empty", "EmptyStaticInitializer", "EmptyInitializer"); + // GuardLogStatementJavaUtil moved and renamed... + addFilterRuleMoved("java", "logging-java", "logging-jakarta-commons", "GuardLogStatementJavaUtil"); + addFilterRuleRenamed("java", "logging-jakarta-commons", "GuardLogStatementJavaUtil", "GuardLogStatement"); + addFilterRuleRenamed("java", "logging-jakarta-commons", "GuardDebugLogging", "GuardLogStatement"); } void addFilterRuleRenamed(String language, String ruleset, String oldName, String newName) {