diff options
author | Benjamin Campomenosi <109955405+benjamin-campomenosi-sonarsource@users.noreply.github.com> | 2022-09-16 14:49:19 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-09-19 20:03:08 +0000 |
commit | 1e1e26d5dc136036fc4cbfde759e4879e098f519 (patch) | |
tree | da7c81e1b6c1a60b5e08da50f405d14dd14665ad /server/sonar-alm-client | |
parent | 2030fa060a172f6e6eae760ed0abb993efb32755 (diff) | |
download | sonarqube-1e1e26d5dc136036fc4cbfde759e4879e098f519.tar.gz sonarqube-1e1e26d5dc136036fc4cbfde759e4879e098f519.zip |
SONAR-17271 update issue from github webhook
Diffstat (limited to 'server/sonar-alm-client')
-rw-r--r-- | server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/scanning/alert/GithubScanningAlertState.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/scanning/alert/GithubScanningAlertState.java b/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/scanning/alert/GithubScanningAlertState.java index 625799d34fd..547ccda0b13 100644 --- a/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/scanning/alert/GithubScanningAlertState.java +++ b/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/scanning/alert/GithubScanningAlertState.java @@ -23,15 +23,10 @@ import com.google.gson.annotations.SerializedName; import javax.annotation.Nullable; public class GithubScanningAlertState { - protected static final String GH_OPEN = "open"; - protected static final String GH_DISMISSED = "dismissed"; - protected static final String GH_WONTFIX = "won't fix"; - protected static final String GH_FALSE_POSITIVE = "false positive"; - @SerializedName("state") - private String state; + private final String state; @SerializedName("dismissed_reason") - private String dismissedReason; + private final String dismissedReason; public GithubScanningAlertState(String state, @Nullable String dismissedReason) { this.state = state; |