diff --git a/src/main/java/org/sonar/plugins/findbugs/rules/FindbugsRulesDefinition.java b/src/main/java/org/sonar/plugins/findbugs/rules/FindbugsRulesDefinition.java index 26a29597..fbd842be 100644 --- a/src/main/java/org/sonar/plugins/findbugs/rules/FindbugsRulesDefinition.java +++ b/src/main/java/org/sonar/plugins/findbugs/rules/FindbugsRulesDefinition.java @@ -29,7 +29,7 @@ public final class FindbugsRulesDefinition implements RulesDefinition { public static final String REPOSITORY_KEY = "findbugs"; public static final String REPOSITORY_NAME = "FindBugs"; - public static final int RULE_COUNT = 442; + public static final int RULE_COUNT = 444; public static final int DEACTIVED_RULE_COUNT = 6; @Override diff --git a/src/test/java/org/sonar/plugins/findbugs/FindbugsProfileImporterTest.java b/src/test/java/org/sonar/plugins/findbugs/FindbugsProfileImporterTest.java index 90430863..ac5ce9c1 100644 --- a/src/test/java/org/sonar/plugins/findbugs/FindbugsProfileImporterTest.java +++ b/src/test/java/org/sonar/plugins/findbugs/FindbugsProfileImporterTest.java @@ -91,7 +91,7 @@ public void shouldImportCategories() { RulesProfile profile = importer.importProfile(new InputStreamReader(input), ValidationMessages.create()); List results = profile.getActiveRules(); - assertThat(results).hasSize(150); + assertThat(results).hasSize(151); assertThat(profile.getActiveRule(FindbugsRulesDefinition.REPOSITORY_KEY, "BC_IMPOSSIBLE_DOWNCAST")).isNotNull(); } @@ -148,7 +148,7 @@ public void testImportingXmlFileWithUnknownCategory() { RulesProfile profile = importer.importProfile(new InputStreamReader(uncorrectFindbugsXml), messages); List results = profile.getActiveRules(); - assertThat(results).hasSize(150); + assertThat(results).hasSize(151); assertThat(messages.getErrors()).isEmpty(); assertThat(messages.getWarnings()).hasSize(1); }