Skip to content

Commit e8f81b1

Browse files
PLUGINAPI-70 remove new resolution ACCEPTED and remove deprecation on WONT_FIX
1 parent 6697ae9 commit e8f81b1

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44

55
* Deprecate `org.sonar.api.measures.CoreMetrics.WONT_FIX_ISSUES` metric and related key.
66
* Introduce `org.sonar.api.measures.CoreMetrics.ACCEPTED_ISSUES` which effectively replaces `org.sonar.api.measures.CoreMetrics.WONT_FIX_ISSUES`
7-
* Introduce `org.sonar.api.issue.Issue.RESOLUTION_ACCEPTED` which effectively replaces `org.sonar.api.issue.Issue.RESOLUTION_WONT_FIX`
87
* Introduce `org.sonar.api.issue.DefaultTransitions.ACCEPT` which effectively replaces `org.sonar.api.issue.DefaultTransitions.WONT_FIX`.
98
* Deprecate `org.sonar.api.issue.DefaultTransitions.WONT_FIX`. Use `org.sonar.api.issue.DefaultTransitions.ACCEPT` instead.
10-
* Deprecate `org.sonar.api.issue.Issue.RESOLUTION_WONT_FIX`. Use `org.sonar.api.issue.Issue.RESOLUTION_ACCEPTED` instead.
119

1210
## 10.2
1311

plugin-api/src/main/java/org/sonar/api/issue/Issue.java

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,9 @@ public interface Issue extends Serializable {
6868
/**
6969
* Issue is irrelevant in the context and was muted by user.
7070
* @since 5.1
71-
* @deprecated since 10.3, use {@link #RESOLUTION_ACCEPTED} instead
7271
*/
73-
@Deprecated(since = "10.3")
7472
String RESOLUTION_WONT_FIX = "WONTFIX";
7573

76-
/**
77-
* Issue is acknowledged and accepted by the user.
78-
* @since 10.3
79-
*/
80-
String RESOLUTION_ACCEPTED = "ACCEPTED";
81-
8274
/**
8375
* Security Hotspot has been reviewed and resolved as safe.
8476
* @since 8.1
@@ -92,7 +84,7 @@ public interface Issue extends Serializable {
9284
String RESOLUTION_ACKNOWLEDGED = "ACKNOWLEDGED";
9385

9486
List<String> RESOLUTIONS = List.of(RESOLUTION_FALSE_POSITIVE, RESOLUTION_WONT_FIX, RESOLUTION_FIXED,
95-
RESOLUTION_REMOVED, RESOLUTION_ACCEPTED);
87+
RESOLUTION_REMOVED);
9688

9789
List<String> SECURITY_HOTSPOT_RESOLUTIONS = List.of(RESOLUTION_FIXED, RESOLUTION_SAFE, RESOLUTION_ACKNOWLEDGED);
9890

0 commit comments

Comments
 (0)