]> source.dussan.org Git - sonarqube.git/commitdiff
Fix regression in issue tracking
authorJulien HENRY <julien.henry@sonarsource.com>
Thu, 12 Feb 2015 17:03:18 +0000 (18:03 +0100)
committerJulien HENRY <julien.henry@sonarsource.com>
Thu, 12 Feb 2015 17:03:18 +0000 (18:03 +0100)
sonar-batch/src/main/java/org/sonar/batch/index/SourcePersister.java

index cf1fae2da064718726445edfef6ccd27cea95195..bbbd47cf5ca8bfce4e6a43a5de6f37a3ad641529 100644 (file)
@@ -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) : "");