Update ruleset factory compatibility

This commit is contained in:
Andreas Dangel
2017-11-30 22:54:07 +01:00
parent 0f96c82695
commit e84800b34c

View File

@ -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) {