aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2012-12-05 14:04:34 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2012-12-05 14:05:02 +0100
commit287277720f600229506c2c086295e2608e1dbc3e (patch)
treedea15e0e7d65c3b2dc93afc922e0f32817227874
parent0670007530bbf61ebf40372964e1674ec45bb7d4 (diff)
downloadsonarqube-287277720f600229506c2c086295e2608e1dbc3e.tar.gz
sonarqube-287277720f600229506c2c086295e2608e1dbc3e.zip
Fix some quality flaws
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/profiles/Alert.java4
1 files 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())