diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-03-22 10:49:35 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-03-22 10:49:35 +0100 |
commit | ec15548ef761899b1162f9b8210196e0b4e222be (patch) | |
tree | 0531b15a283d12d98a57855305c8186c0c0e2456 /sonar-check-api/src/main/java/org/sonar | |
parent | d42c6a3993cc9b1e40b3fd6006008dd9b902822e (diff) | |
download | sonarqube-ec15548ef761899b1162f9b8210196e0b4e222be.tar.gz sonarqube-ec15548ef761899b1162f9b8210196e0b4e222be.zip |
SONAR-3879 Replace rule status enumeration in the annotation by a string
Diffstat (limited to 'sonar-check-api/src/main/java/org/sonar')
-rw-r--r-- | sonar-check-api/src/main/java/org/sonar/check/Rule.java | 2 | ||||
-rw-r--r-- | sonar-check-api/src/main/java/org/sonar/check/Status.java | 27 |
2 files changed, 1 insertions, 28 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 391ca5a4043..d754f488e4a 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 @@ -65,5 +65,5 @@ public @interface Rule { * The rule status. Can be READY, BETA or DEPRECATED * @since 3.6 */ - Status status() default Status.READY; + String status() default "READY"; } diff --git a/sonar-check-api/src/main/java/org/sonar/check/Status.java b/sonar-check-api/src/main/java/org/sonar/check/Status.java deleted file mode 100644 index 2f74e8b1b22..00000000000 --- a/sonar-check-api/src/main/java/org/sonar/check/Status.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Sonar, open source software quality management tool. - * Copyright (C) 2008-2012 SonarSource - * mailto:contact AT sonarsource DOT com - * - * Sonar is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * Sonar is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with Sonar; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 - */ -package org.sonar.check; - -/** - * @since 3.6 - */ -public enum Status { - READY, BETA, DEPRECATED; -} |