From 287277720f600229506c2c086295e2608e1dbc3e Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Wed, 5 Dec 2012 14:04:34 +0100 Subject: [PATCH] Fix some quality flaws --- .../src/main/java/org/sonar/api/profiles/Alert.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/Alert.java b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/Alert.java index c7be830d8dd..506bdb0549a 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/profiles/Alert.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/profiles/Alert.java @@ -231,10 +231,10 @@ public class Alert extends BaseIdentifiable implements Cloneable { } /** - * This method should not be used because it does not manage alerts with variation * @see org.sonar.plugins.core.sensors.CheckAlertThresholds#getAlertLabel(Alert alert, Metric.Level level) - * @deprecated + * @deprecated since 3.4 because it does not manage alerts with variation */ + @Deprecated public String getAlertLabel(Metric.Level level) { return new StringBuilder() .append(getMetric().getName()) -- 2.39.5