aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-04-18 09:36:50 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-04-18 09:36:50 +0200
commitb5479b6e99b9b68a132c5a66fdb5b3b373793625 (patch)
tree569cdf0db057858e5a1566f007437b416ba68158 /sonar-batch
parentffd3792e2cfbe39175a3bda50c31c4b330677627 (diff)
downloadsonarqube-b5479b6e99b9b68a132c5a66fdb5b3b373793625.tar.gz
sonarqube-b5479b6e99b9b68a132c5a66fdb5b3b373793625.zip
SONAR-4188 Close issues when resource has been moved or has been deleted
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/issue/InitialOpenIssuesStack.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/issue/InitialOpenIssuesStack.java b/sonar-batch/src/main/java/org/sonar/batch/issue/InitialOpenIssuesStack.java
index f6b6dec817a..ba070cfd084 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/issue/InitialOpenIssuesStack.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/issue/InitialOpenIssuesStack.java
@@ -20,7 +20,6 @@
package org.sonar.batch.issue;
-import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.ArrayListMultimap;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ListMultimap;
@@ -56,8 +55,7 @@ public class InitialOpenIssuesStack implements BatchExtension {
}
}
- @VisibleForTesting
- Collection<IssueDto> getAllIssues(){
+ public Collection<IssueDto> getAllIssues(){
return issuesByResourceId.values();
}
}