From: Julien Lancelot Date: Thu, 16 May 2013 07:49:49 +0000 (+0200) Subject: Remove useless code X-Git-Tag: 3.6~359 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=639b52dfd9ce275bb49ea5a488c0eb27eaaa7ff0;p=sonarqube.git Remove useless code --- 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()) {