From b6f505f5626e4e0c65e79be2cefbe2050109ea84 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 8 Feb 2012 18:11:01 +0100 Subject: [PATCH] SONAR-2061 do not keep historical data on the metric new_blocker_violations --- .../src/main/java/org/sonar/api/measures/CoreMetrics.java | 1 + 1 file changed, 1 insertion(+) 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"; -- 2.39.5