aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-01-22 17:06:09 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-01-22 17:55:18 +0100
commit361f445eb6093e524b2df524d9bde14012e83263 (patch)
treea28af9c51b47421fff95d9b1bba31456a0874a44 /sonar-plugin-api/src
parentcc2a9058c2e5b7bc987adad7178e45e5506f5ad9 (diff)
downloadsonarqube-361f445eb6093e524b2df524d9bde14012e83263.tar.gz
sonarqube-361f445eb6093e524b2df524d9bde14012e83263.zip
SONAR-4624 rename issue transition "mute" to "wontfix" and resolution "MUTED" to "WONTFIX"
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/DefaultTransitions.java4
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/DefaultTransitions.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/DefaultTransitions.java
index b8de744b266..7b1e01e0673 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/DefaultTransitions.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/DefaultTransitions.java
@@ -38,10 +38,10 @@ public interface DefaultTransitions {
/**
* @since 5.1
*/
- String MUTE = "mute";
+ String WONT_FIX = "wontfix";
/**
* @since 4.4
*/
- List<String> ALL = ImmutableList.of(CONFIRM, UNCONFIRM, REOPEN, RESOLVE, FALSE_POSITIVE, MUTE, CLOSE);
+ List<String> ALL = ImmutableList.of(CONFIRM, UNCONFIRM, REOPEN, RESOLVE, FALSE_POSITIVE, WONT_FIX, CLOSE);
}
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java b/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
index 391830e4131..778b57135c7 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/issue/Issue.java
@@ -66,9 +66,9 @@ public interface Issue extends Serializable {
* Issue is irrelevant in the context and was muted by user.
* @since 5.1
*/
- String RESOLUTION_MUTED = "MUTED";
+ String RESOLUTION_WONT_FIX = "WONTFIX";
- List<String> RESOLUTIONS = ImmutableList.of(RESOLUTION_FALSE_POSITIVE, RESOLUTION_MUTED, RESOLUTION_FIXED, RESOLUTION_REMOVED);
+ List<String> RESOLUTIONS = ImmutableList.of(RESOLUTION_FALSE_POSITIVE, RESOLUTION_WONT_FIX, RESOLUTION_FIXED, RESOLUTION_REMOVED);
/**
* Return all available statuses