]> source.dussan.org Git - sonarqube.git/commitdiff
Fix log level
authorJulien HENRY <julien.henry@sonarsource.com>
Mon, 9 Feb 2015 14:53:38 +0000 (15:53 +0100)
committerJulien HENRY <julien.henry@sonarsource.com>
Mon, 9 Feb 2015 15:06:35 +0000 (16:06 +0100)
sonar-batch/src/main/java/org/sonar/batch/scan/LastLineHashes.java

index 7fde8b45295a97094f78288ed971ce641db06384..2f8cb99d1727dae47f718c6eed96ffe5c699ec0a 100644 (file)
@@ -43,7 +43,7 @@ public class LastLineHashes implements BatchComponent {
   }
 
   private String loadHashesFromWs(String fileKey) {
-    TimeProfiler profiler = new TimeProfiler(LOG).start("Load previous line hashes of: " + fileKey).setLevelToDebug();
+    TimeProfiler profiler = new TimeProfiler(LOG).setLevelToDebug().start("Load previous line hashes of: " + fileKey);
     try {
       return server.request("/api/sources/hash?key=" + ServerClient.encodeForUrl(fileKey));
     } finally {