From 4a2f5c9956e1711c88a360bcdb0bfc23dd4386d2 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Tue, 20 Mar 2012 21:32:58 +0400 Subject: [PATCH] SONAR-3289 Mark metric 'class_complexity_distribution' as deprecated --- .../src/main/java/org/sonar/api/measures/CoreMetrics.java | 7 +++++++ 1 file changed, 7 insertions(+) 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 47fa9a861f4..87ac57a47b3 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 @@ -326,7 +326,14 @@ public final class CoreMetrics { .setFormula(new AverageComplexityFormula(CoreMetrics.PARAGRAPHS)) .create(); + /** + * @deprecated in 2.15 - see SONAR-3289 + */ public static final String CLASS_COMPLEXITY_DISTRIBUTION_KEY = "class_complexity_distribution"; + + /** + * @deprecated in 2.15 - see SONAR-3289 + */ public static final Metric CLASS_COMPLEXITY_DISTRIBUTION = new Metric.Builder(CLASS_COMPLEXITY_DISTRIBUTION_KEY, "Classes distribution /complexity", Metric.ValueType.DISTRIB) .setDescription("Classes distribution /complexity") .setDirection(Metric.DIRECTION_NONE) -- 2.39.5