diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewViolationsDecorator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewViolationsDecorator.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewViolationsDecorator.java index f9c62d786e0..d3bc967772e 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewViolationsDecorator.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewViolationsDecorator.java @@ -123,7 +123,7 @@ public class NewViolationsDecorator implements Decorator { } for (Rule rule : childrenByRule.keys()) { - RuleMeasure measure = RuleMeasure.createForRule(CoreMetrics.VIOLATIONS, rule, null); + RuleMeasure measure = RuleMeasure.createForRule(CoreMetrics.NEW_VIOLATIONS, rule, null); measure.setRulePriority(ruleToLevel.get(rule)); for (PastSnapshot variationSnapshot : timeMachineConfiguration.getProjectPastSnapshots()) { int variationIndex = variationSnapshot.getIndex(); |