aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-12-06 14:05:58 +0000
committerGodin <mandrikov@gmail.com>2010-12-06 14:05:58 +0000
commitca79bd72bc11d542a33a3f92e3d9dda54a0c8477 (patch)
treef5af819e2a7e762c36ef051d8dfd43d89951a5b9 /plugins
parentc3e3df59aca2702177b8e9ba9ce925c1f4a27714 (diff)
downloadsonarqube-ca79bd72bc11d542a33a3f92e3d9dda54a0c8477.tar.gz
sonarqube-ca79bd72bc11d542a33a3f92e3d9dda54a0c8477.zip
Fix metric name
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/NewViolationsDecorator.java2
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();