diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-03-24 12:31:43 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-03-29 19:11:17 +0200 |
commit | 466427e0c3f5c5a5635f5525b85d3e4c41208d40 (patch) | |
tree | 7b7f1398f102e3158a4f45c464026b0c9456270d /sonar-scanner-engine | |
parent | 28431eb1bf36237a8119bbce726daba1a5449ced (diff) | |
download | sonarqube-466427e0c3f5c5a5635f5525b85d3e4c41208d40.tar.gz sonarqube-466427e0c3f5c5a5635f5525b85d3e4c41208d40.zip |
SONAR-7472 Drop manual issues in issue tracking
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/batch/issue/tracking/LocalIssueTracking.java | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/batch/issue/tracking/LocalIssueTracking.java b/sonar-scanner-engine/src/main/java/org/sonar/batch/issue/tracking/LocalIssueTracking.java index 634326771d4..21a89cdb95c 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/batch/issue/tracking/LocalIssueTracking.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/batch/issue/tracking/LocalIssueTracking.java @@ -19,15 +19,7 @@ */ package org.sonar.batch.issue.tracking; -import org.sonar.core.issue.tracking.Tracking; -import org.sonar.scanner.protocol.output.ScannerReport; -import org.sonar.core.issue.tracking.Input; -import org.sonar.core.issue.tracking.Tracker; -import org.sonar.batch.issue.IssueTransformer; -import org.sonar.api.batch.fs.InputFile.Status; -import org.sonar.batch.analysis.DefaultAnalysisMode; import com.google.common.annotations.VisibleForTesting; - import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; @@ -35,18 +27,23 @@ import java.util.Date; import java.util.LinkedList; import java.util.List; import java.util.Map; - import javax.annotation.CheckForNull; import javax.annotation.Nullable; - import org.sonar.api.batch.BatchSide; +import org.sonar.api.batch.fs.InputFile.Status; import org.sonar.api.batch.fs.internal.DefaultInputFile; import org.sonar.api.batch.rule.ActiveRule; import org.sonar.api.batch.rule.ActiveRules; import org.sonar.api.issue.Issue; import org.sonar.api.resources.ResourceUtils; +import org.sonar.batch.analysis.DefaultAnalysisMode; import org.sonar.batch.index.BatchComponent; +import org.sonar.batch.issue.IssueTransformer; import org.sonar.batch.repository.ProjectRepositories; +import org.sonar.core.issue.tracking.Input; +import org.sonar.core.issue.tracking.Tracker; +import org.sonar.core.issue.tracking.Tracking; +import org.sonar.scanner.protocol.output.ScannerReport; @BatchSide public class LocalIssueTracking { @@ -94,7 +91,6 @@ public class LocalIssueTracking { Tracking<TrackedIssue, ServerIssueFromWs> track = tracker.track(rawIssues, baseIssues); addUnmatchedFromServer(track.getUnmatchedBases(), sourceHashHolder, trackedIssues); - addUnmatchedFromServer(track.getOpenManualIssuesByLine().values(), sourceHashHolder, trackedIssues); mergeMatched(track, trackedIssues, rIssues); addUnmatchedFromReport(track.getUnmatchedRaws(), trackedIssues, analysisDate); } |