aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-02-03 10:29:04 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-02-03 10:29:35 +0100
commit9b3e2cc9103c5c0e7cdd4566e455e56b9d73b303 (patch)
treee3bb69ba2b6cc54bf86b57f093949268662e2490 /sonar-plugin-api
parentd9e2f9e9f2db7fc540b3a31ab8468c6ed91b1d7e (diff)
downloadsonarqube-9b3e2cc9103c5c0e7cdd4566e455e56b9d73b303.tar.gz
sonarqube-9b3e2cc9103c5c0e7cdd4566e455e56b9d73b303.zip
Fix some quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java
index 0da76ee17f2..409fc34b730 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java
@@ -67,8 +67,9 @@ public class RuleMeasure extends Measure {
}
/**
- * @deprecated since 2.14 use {@link #setSeverity()} instead. See SONAR-1829.
+ * @deprecated since 2.14 use {@link #setSeverity(org.sonar.api.rules.RulePriority)} instead. See SONAR-1829.
*/
+ @Deprecated
public RuleMeasure setRulePriority(RulePriority rulePriority) {
this.rulePriority = rulePriority;
return this;