]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3289 Mark metric 'class_complexity_distribution' as deprecated
authorEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 21 Mar 2012 06:25:43 +0000 (10:25 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 21 Mar 2012 06:25:43 +0000 (10:25 +0400)
sonar-plugin-api/src/main/java/org/sonar/api/measures/CoreMetrics.java

index 87ac57a47b3aaf2e1cdcde370a0eb20a54438970..7149cb3fc65b05852d2261b46a42e542c9ce6949 100644 (file)
@@ -314,6 +314,7 @@ public final class CoreMetrics {
    */
   @Deprecated
   public static final String PARAGRAPH_COMPLEXITY_KEY = "paragraph_complexity";
+
   /**
    * @deprecated since Sonar 2.14 - See SONAR-3239
    */
@@ -329,11 +330,13 @@ public final class CoreMetrics {
   /**
    * @deprecated in 2.15 - see SONAR-3289
    */
+  @Deprecated
   public static final String CLASS_COMPLEXITY_DISTRIBUTION_KEY = "class_complexity_distribution";
 
   /**
    * @deprecated in 2.15 - see SONAR-3289
    */
+  @Deprecated
   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)