]> source.dussan.org Git - sonarqube.git/commitdiff
fix quality flaws
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 25 Nov 2015 19:20:06 +0000 (20:20 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 25 Nov 2015 19:20:06 +0000 (20:20 +0100)
sonar-batch/src/main/java/org/sonar/batch/report/ReportPublisher.java
sonar-db/src/main/java/org/sonar/db/measure/MeasureMapper.java

index ef1790ce8adf6b6086957ba5f4e052f38eca91a0..42b549de019bb4c4977f36d3057b0edb8b73adcf 100644 (file)
@@ -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);
index a5b096001f8b8177ba5610dece2589a524257e26..63fb1f4285713b21582256d50fccc1bd78781c32 100644 (file)
@@ -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);