diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-03-05 10:35:57 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-03-05 10:40:54 +0100 |
commit | 29f7b15feea86c67c8e75fb89c8fa0dd4b807ba8 (patch) | |
tree | 6b6cf61af84603d1b5f9287594aa5b9de054c9b1 /sonar-batch-protocol | |
parent | b1387c20ba29e03a20c841bb4dd17bb46a056ae6 (diff) | |
download | sonarqube-29f7b15feea86c67c8e75fb89c8fa0dd4b807ba8.tar.gz sonarqube-29f7b15feea86c67c8e75fb89c8fa0dd4b807ba8.zip |
Fix indexing of issues -> mix functional and technical dates
Diffstat (limited to 'sonar-batch-protocol')
-rw-r--r-- | sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportReader.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportReader.java b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportReader.java index e1695c1bd07..72a319a4e09 100644 --- a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportReader.java +++ b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/output/BatchReportReader.java @@ -26,6 +26,7 @@ import javax.annotation.CheckForNull; import java.io.File; import java.util.Collections; +import java.util.List; public class BatchReportReader { @@ -52,7 +53,7 @@ public class BatchReportReader { return null; } - public Iterable<BatchReport.Issue> readComponentIssues(int componentRef) { + public List<BatchReport.Issue> readComponentIssues(int componentRef) { File file = fileStructure.fileFor(FileStructure.Domain.ISSUES, componentRef); if (file.exists() && file.isFile()) { // all the issues are loaded in memory |