]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2061 do not keep historical data on the metric new_blocker_violations
authorSimon Brandhof <simon.brandhof@gmail.com>
Wed, 8 Feb 2012 17:11:01 +0000 (18:11 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Wed, 8 Feb 2012 17:52:12 +0000 (18:52 +0100)
sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java

index 7d28c1e259bd215cfbf61c2c6e85c39153eac58f..acdf5c3c225f2ba81404ef2187e90fe6a17da0ac 100644 (file)
@@ -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";