From: Simon Brandhof Date: Wed, 8 Feb 2012 17:11:01 +0000 (+0100) Subject: SONAR-2061 do not keep historical data on the metric new_blocker_violations X-Git-Tag: 2.14~131 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b6f505f5626e4e0c65e79be2cefbe2050109ea84;p=sonarqube.git SONAR-2061 do not keep historical data on the metric new_blocker_violations --- diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java index 7d28c1e259b..acdf5c3c225 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java @@ -1167,6 +1167,7 @@ public final class CoreMetrics { .setDomain(DOMAIN_RULES) .setBestValue(0.0) .setOptimizedBestValue(true) + .setDeleteHistoricalData(true) .create(); public static final String NEW_CRITICAL_VIOLATIONS_KEY = "new_critical_violations";