*/
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";
if (options.getTableId() != null) {
sb.append(options.getTableId());
}
- sb.append("\"><tbody>");
- sb.append("<tr id=\"" + lineId++ + "\"><td><pre>");
+ sb.append("\"><tbody><tr id=\"").append(lineId++).append("\"><td><pre>");
return sb.toString();
}