diff options
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/report/ReportPublisher.java | 2 | ||||
-rw-r--r-- | sonar-db/src/main/java/org/sonar/db/measure/MeasureMapper.java | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/report/ReportPublisher.java b/sonar-batch/src/main/java/org/sonar/batch/report/ReportPublisher.java index ef1790ce8ad..42b549de019 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/report/ReportPublisher.java +++ b/sonar-batch/src/main/java/org/sonar/batch/report/ReportPublisher.java @@ -203,7 +203,7 @@ public class ReportPublisher implements Startable { } } - private void dumpReport(String dumpDirLocation, String projectKey, String relativeUrl, File report) { + private static void dumpReport(String dumpDirLocation, String projectKey, String relativeUrl, File report) { LOG.debug("Dump report to file"); try { dumpReportImpl(dumpDirLocation, projectKey, relativeUrl, report); diff --git a/sonar-db/src/main/java/org/sonar/db/measure/MeasureMapper.java b/sonar-db/src/main/java/org/sonar/db/measure/MeasureMapper.java index a5b096001f8..63fb1f42857 100644 --- a/sonar-db/src/main/java/org/sonar/db/measure/MeasureMapper.java +++ b/sonar-db/src/main/java/org/sonar/db/measure/MeasureMapper.java @@ -32,7 +32,8 @@ public interface MeasureMapper { List<MeasureDto> selectBySnapshotAndMetricKeys(@Param("snapshotId") long snapshotId, @Param("metricKeys") List<String> metricKeys); - List<MeasureDto> selectByDeveloperForSnapshotAndMetrics(@Param("developerId") long developerId, @Param("snapshotId") long snapshotId, @Param("metricIds") List<Integer> metricIds); + List<MeasureDto> selectByDeveloperForSnapshotAndMetrics(@Param("developerId") long developerId, @Param("snapshotId") long snapshotId, + @Param("metricIds") List<Integer> metricIds); List<MeasureDto> selectBySnapshotAndMetrics(@Param("snapshotId") long snapshotId, @Param("metricIds") List<Integer> input); |