bug fix from previous commit

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4815 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2006-11-19 02:01:35 +00:00
parent 4bc641bf51
commit b5aa7f3422

View File

@ -22,12 +22,13 @@ public class VBHTMLRenderer extends AbstractRenderer {
return;
}
StringBuffer sb = new StringBuffer(header());
StringBuffer sb = new StringBuffer();
String filename = null;
String lineSep = PMD.EOL;
boolean colorize = false;
writer.write(header());
for (Iterator iter = report.iterator(); iter.hasNext();) {
sb.setLength(0);
IRuleViolation rv = (IRuleViolation) iter.next();