From 06b3b224141e8519781e4a63fde38758b9e9d1c1 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Thu, 12 Feb 2015 18:03:18 +0100 Subject: Fix regression in issue tracking --- sonar-batch/src/main/java/org/sonar/batch/index/SourcePersister.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-batch') diff --git a/sonar-batch/src/main/java/org/sonar/batch/index/SourcePersister.java b/sonar-batch/src/main/java/org/sonar/batch/index/SourcePersister.java index cf1fae2da06..bbbd47cf5ca 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/index/SourcePersister.java +++ b/sonar-batch/src/main/java/org/sonar/batch/index/SourcePersister.java @@ -132,7 +132,7 @@ public class SourcePersister implements ScanPersister { @Override public void consume(int lineIdx, @Nullable byte[] hash) { - if (lineIdx > 0) { + if (lineIdx > 1) { result.append("\n"); } result.append(hash != null ? Hex.encodeHexString(hash) : ""); -- cgit v1.2.3