aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2012-01-19 11:40:09 +0100
committerFabrice Bellingard <bellingard@gmail.com>2012-01-19 14:09:59 +0100
commit2e246d02c1c23fc7de77d6cd5afc8f2209f9e4b8 (patch)
tree2f78eaede0c3e852b33301bb8865d1937f8f3f02
parentd016bfe2df2ff4a0666d3bada4668f1493ce5e25 (diff)
downloadsonarqube-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.java3
-rw-r--r--sonar-server/src/main/webapp/images/reviews/comment.pngbin1107 -> 0 bytes
-rw-r--r--sonar-server/src/main/webapp/images/reviews/false_positive.pngbin3118 -> 0 bytes
-rw-r--r--sonar-server/src/main/webapp/images/reviews/with_false_positives.pngbin3092 -> 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
deleted file mode 100644
index d2b4d640851..00000000000
--- a/sonar-server/src/main/webapp/images/reviews/comment.png
+++ /dev/null
Binary files differ
diff --git a/sonar-server/src/main/webapp/images/reviews/false_positive.png b/sonar-server/src/main/webapp/images/reviews/false_positive.png
deleted file mode 100644
index 42e6a028f9d..00000000000
--- a/sonar-server/src/main/webapp/images/reviews/false_positive.png
+++ /dev/null
Binary files differ
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
deleted file mode 100644
index 64e06e1c9f6..00000000000
--- a/sonar-server/src/main/webapp/images/reviews/with_false_positives.png
+++ /dev/null
Binary files differ