aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-check-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-03-25 13:29:14 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2013-03-25 13:29:27 +0100
commit8a3488a1de7657410156b825c4cae18832d7b750 (patch)
treecb3fada4725b6ddcfc65374995affd96fb0e81be /sonar-check-api
parent481f9aa524a1c08ab99f79ee8ae9f87842b601e0 (diff)
downloadsonarqube-8a3488a1de7657410156b825c4cae18832d7b750.tar.gz
sonarqube-8a3488a1de7657410156b825c4cae18832d7b750.zip
SONAR-3879 Moved status constant to Rule. Removed Rule status enumeration.
Diffstat (limited to 'sonar-check-api')
-rw-r--r--sonar-check-api/src/main/java/org/sonar/check/Rule.java6
1 files changed, 1 insertions, 5 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 ef62eaa66e4..5c01708bbfe 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
@@ -31,10 +31,6 @@ import java.lang.annotation.Target;
@Target(ElementType.TYPE)
public @interface Rule {
- public static final String STATUS_BETA = "BETA";
- public static final String STATUS_DEPRECATED = "DEPRECATED";
- public static final String STATUS_READY = "READY";
-
/**
* The default key is the class name.
*/
@@ -66,7 +62,7 @@ public @interface Rule {
Cardinality cardinality() default Cardinality.SINGLE;
/**
- * The rule status. Can be READY, BETA or DEPRECATED
+ * The status. Can be READY, BETA or DEPRECATED
* @since 3.6
*/
String status() default "READY";