aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java1
1 files changed, 1 insertions, 0 deletions
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";