From 7526781e77eb8abd4fd08b1c9fc035ae093a286b Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 9 Feb 2015 15:53:38 +0100 Subject: [PATCH] Fix log level --- .../src/main/java/org/sonar/batch/scan/LastLineHashes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-batch/src/main/java/org/sonar/batch/scan/LastLineHashes.java b/sonar-batch/src/main/java/org/sonar/batch/scan/LastLineHashes.java index 7fde8b45295..2f8cb99d172 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/scan/LastLineHashes.java +++ b/sonar-batch/src/main/java/org/sonar/batch/scan/LastLineHashes.java @@ -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 { -- 2.39.5