From: Julien Lancelot Date: Mon, 6 May 2019 10:25:29 +0000 (+0200) Subject: SONAR-12026 Security Hotspots are created with resolution "To Review" X-Git-Tag: 7.8~206 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7a547418b7fc4beae7a541f81a0c225b0af60631;p=sonarqube.git SONAR-12026 Security Hotspots are created with resolution "To Review" --- diff --git a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/IssueLifecycle.java b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/IssueLifecycle.java index c2314f17246..081c3217138 100644 --- a/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/IssueLifecycle.java +++ b/server/sonar-ce-task-projectanalysis/src/main/java/org/sonar/ce/task/projectanalysis/issue/IssueLifecycle.java @@ -35,6 +35,8 @@ import org.sonar.db.component.KeyType; import org.sonar.server.issue.IssueFieldsSetter; import org.sonar.server.issue.workflow.IssueWorkflow; +import static java.util.Objects.requireNonNull; + /** * Sets the appropriate fields when an issue is : *