diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2012-01-19 11:40:09 +0100 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2012-01-19 14:09:59 +0100 |
commit | 2e246d02c1c23fc7de77d6cd5afc8f2209f9e4b8 (patch) | |
tree | 2f78eaede0c3e852b33301bb8865d1937f8f3f02 /plugins/sonar-core-plugin | |
parent | d016bfe2df2ff4a0666d3bada4668f1493ce5e25 (diff) | |
download | sonarqube-2e246d02c1c23fc7de77d6cd5afc8f2209f9e4b8.tar.gz sonarqube-2e246d02c1c23fc7de77d6cd5afc8f2209f9e4b8.zip |
Remove unused icons + fix 1 violation
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ReviewsMeasuresDecorator.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ReviewsMeasuresDecorator.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ReviewsMeasuresDecorator.java index 88b699c54bd..653981fb826 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ReviewsMeasuresDecorator.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ReviewsMeasuresDecorator.java @@ -147,8 +147,7 @@ public class ReviewsMeasuresDecorator implements Decorator { } } } - int newUnreviewedViolations = newViolationCount - newReviewedViolationCount; - return newUnreviewedViolations; + return newViolationCount - newReviewedViolationCount; } private Double getChildrenSum(Resource<?> resource, DecoratorContext context, Metric metric) { |