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 | |
parent | d016bfe2df2ff4a0666d3bada4668f1493ce5e25 (diff) | |
download | sonarqube-2e246d02c1c23fc7de77d6cd5afc8f2209f9e4b8.tar.gz sonarqube-2e246d02c1c23fc7de77d6cd5afc8f2209f9e4b8.zip |
Remove unused icons + fix 1 violation
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ReviewsMeasuresDecorator.java | 3 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/images/reviews/comment.png | bin | 1107 -> 0 bytes | |||
-rw-r--r-- | sonar-server/src/main/webapp/images/reviews/false_positive.png | bin | 3118 -> 0 bytes | |||
-rw-r--r-- | sonar-server/src/main/webapp/images/reviews/with_false_positives.png | bin | 3092 -> 0 bytes |
4 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) { diff --git a/sonar-server/src/main/webapp/images/reviews/comment.png b/sonar-server/src/main/webapp/images/reviews/comment.png Binary files differdeleted file mode 100644 index d2b4d640851..00000000000 --- a/sonar-server/src/main/webapp/images/reviews/comment.png +++ /dev/null diff --git a/sonar-server/src/main/webapp/images/reviews/false_positive.png b/sonar-server/src/main/webapp/images/reviews/false_positive.png Binary files differdeleted file mode 100644 index 42e6a028f9d..00000000000 --- a/sonar-server/src/main/webapp/images/reviews/false_positive.png +++ /dev/null diff --git a/sonar-server/src/main/webapp/images/reviews/with_false_positives.png b/sonar-server/src/main/webapp/images/reviews/with_false_positives.png Binary files differdeleted file mode 100644 index 64e06e1c9f6..00000000000 --- a/sonar-server/src/main/webapp/images/reviews/with_false_positives.png +++ /dev/null |