aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/ReviewsMeasuresDecorator.java3
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) {