From: simonbrandhof Date: Sun, 17 Apr 2011 10:55:22 +0000 (+0200) Subject: SONAR-2115 : use StringBuilder.append() instead of String+String X-Git-Tag: 2.8~215 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=58bf36ece8a066417d3ea0f887670cb373807ce2;p=sonarqube.git SONAR-2115 : use StringBuilder.append() instead of String+String --- diff --git a/sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlDecorator.java b/sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlDecorator.java index 5e4e2e512d8..66b721e718c 100644 --- a/sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlDecorator.java +++ b/sonar-colorizer/src/main/java/org/sonar/colorizer/HtmlDecorator.java @@ -19,12 +19,12 @@ */ package org.sonar.colorizer; -import java.io.IOException; -import java.io.InputStream; - import org.apache.commons.io.IOUtils; import org.sonar.channel.CodeReader; +import java.io.IOException; +import java.io.InputStream; + public class HtmlDecorator extends Tokenizer { private static final String CSS_PATH = "/sonar-colorizer.css"; @@ -52,8 +52,7 @@ public class HtmlDecorator extends Tokenizer { if (options.getTableId() != null) { sb.append(options.getTableId()); } - sb.append("\">"); - sb.append("
");
+    sb.append("\">
");
     return sb.toString();
   }