aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2018-08-14 18:07:10 +0200
committerSonarTech <sonartech@sonarsource.com>2018-08-21 20:21:05 +0200
commit3065f6824c72d504c8e317c7d2d6a2c682081c4f (patch)
treeaa9a369907d4c31f3225e81f6073de77ba887d9e /sonar-scanner-engine
parent61c813392f60ec29e4b628e7244593c627058b5b (diff)
downloadsonarqube-3065f6824c72d504c8e317c7d2d6a2c682081c4f.tar.gz
sonarqube-3065f6824c72d504c8e317c7d2d6a2c682081c4f.zip
SONAR-8368 reopen closed issues (restore status)
but those from Hotspots rules and manual vulnerabilities
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r--sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/tracking/LocalIssueTracking.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/tracking/LocalIssueTracking.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/tracking/LocalIssueTracking.java
index 1e2913c8d08..aa4e5694ae7 100644
--- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/tracking/LocalIssueTracking.java
+++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/issue/tracking/LocalIssueTracking.java
@@ -94,7 +94,7 @@ public class LocalIssueTracking {
Input<ServerIssueFromWs> baseIssues = createBaseInput(serverIssues, sourceHashHolder);
Input<TrackedIssue> rawIssues = createRawInput(rIssues, sourceHashHolder);
- Tracking<TrackedIssue, ServerIssueFromWs> track = tracker.track(rawIssues, baseIssues);
+ Tracking<TrackedIssue, ServerIssueFromWs> track = tracker.trackNonClosed(rawIssues, baseIssues);
addUnmatchedFromServer(track.getUnmatchedBases(), trackedIssues, component.key());
mergeMatched(track, trackedIssues, rIssues);