aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-check-api/src/main/java/org/sonar/check/Rule.java
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-12-06 18:20:28 +0000
committerGodin <mandrikov@gmail.com>2010-12-06 18:20:28 +0000
commit3d4fc89dcb178c5f7188dd34f05fee580bc3906f (patch)
treef5201fe739ecbfac700052b42d183402d027dc61 /sonar-check-api/src/main/java/org/sonar/check/Rule.java
parent6b3d13a08f5240d86ee3cdd5e0f955bf51cdc431 (diff)
downloadsonarqube-3d4fc89dcb178c5f7188dd34f05fee580bc3906f.tar.gz
sonarqube-3d4fc89dcb178c5f7188dd34f05fee580bc3906f.zip
SONAR-1829: Rename the term "Priority" by "Severity" for rules - add setSeverity/getSeverity and deprecate setPriority/getPriority
Diffstat (limited to 'sonar-check-api/src/main/java/org/sonar/check/Rule.java')
-rw-r--r--sonar-check-api/src/main/java/org/sonar/check/Rule.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-check-api/src/main/java/org/sonar/check/Rule.java b/sonar-check-api/src/main/java/org/sonar/check/Rule.java
index fe99c2e1c22..905c59b4099 100644
--- a/sonar-check-api/src/main/java/org/sonar/check/Rule.java
+++ b/sonar-check-api/src/main/java/org/sonar/check/Rule.java
@@ -56,7 +56,8 @@ public @interface Rule {
*
* @deprecated since 2.5. See http://jira.codehaus.org/browse/SONAR-2007
*/
+ @Deprecated
IsoCategory isoCategory() default IsoCategory.NONE;
Cardinality cardinality() default Cardinality.SINGLE;
-} \ No newline at end of file
+}