From 639b52dfd9ce275bb49ea5a488c0eb27eaaa7ff0 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 16 May 2013 09:49:49 +0200 Subject: [PATCH] Remove useless code --- .../org/sonar/plugins/core/issue/IssueCountersDecorator.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueCountersDecorator.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueCountersDecorator.java index 080dccfbef3..3f82358a1db 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueCountersDecorator.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/IssueCountersDecorator.java @@ -95,7 +95,6 @@ public class IssueCountersDecorator implements Decorator { ListMultimap issuesPerSeverities = ArrayListMultimap.create(); int countUnassigned = 0; int falsePositives = 0; - int unplanned = 0; for (Issue issue : issues) { severitiesBag.add(RulePriority.valueOf(issue.severity())); @@ -109,10 +108,6 @@ public class IssueCountersDecorator implements Decorator { if (Issue.RESOLUTION_FALSE_POSITIVE.equals(issue.resolution())) { falsePositives++; } - - if (issue.actionPlanKey() == null) { - unplanned++; - } } for (RulePriority ruleSeverity : RulePriority.values()) { -- 2.39.5