From e8910d10bff9c115dc8bf2c614ff5ef839626f80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Lesaint?= Date: Wed, 25 Nov 2015 20:20:06 +0100 Subject: [PATCH] fix quality flaws --- .../src/main/java/org/sonar/batch/report/ReportPublisher.java | 2 +- 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 selectBySnapshotAndMetricKeys(@Param("snapshotId") long snapshotId, @Param("metricKeys") List metricKeys); - List selectByDeveloperForSnapshotAndMetrics(@Param("developerId") long developerId, @Param("snapshotId") long snapshotId, @Param("metricIds") List metricIds); + List selectByDeveloperForSnapshotAndMetrics(@Param("developerId") long developerId, @Param("snapshotId") long snapshotId, + @Param("metricIds") List metricIds); List selectBySnapshotAndMetrics(@Param("snapshotId") long snapshotId, @Param("metricIds") List input); -- 2.39.5