diff options
Diffstat (limited to 'sonar-check-api')
-rw-r--r-- | sonar-check-api/src/main/java/org/sonar/check/Check.java | 8 | ||||
-rw-r--r-- | sonar-check-api/src/main/java/org/sonar/check/Rule.java | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/sonar-check-api/src/main/java/org/sonar/check/Check.java b/sonar-check-api/src/main/java/org/sonar/check/Check.java index 6731d041560..274192d5dcc 100644 --- a/sonar-check-api/src/main/java/org/sonar/check/Check.java +++ b/sonar-check-api/src/main/java/org/sonar/check/Check.java @@ -39,7 +39,7 @@ public @interface Check { String key() default ""; /** - * The path to resource bundles (optional). If not set, then it equals the class name. + * The path to resource bundles (optional). If not set, then it equals the class name. */ String bundle() default ""; @@ -58,9 +58,11 @@ public @interface Check { */ Priority priority() default Priority.MAJOR; - /** - * Will probably be deprecated and replaced by tags in version 2.2 + * Will probably be deprecated and replaced by tags + * + * @deprecated since 2.5. See http://jira.codehaus.org/browse/SONAR-2007 */ + @Deprecated IsoCategory isoCategory(); } 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 +} |