From b5aa7f3422be7390071cff9e84c66afa7287a81b Mon Sep 17 00:00:00 2001 From: Xavier Le Vourch Date: Sun, 19 Nov 2006 02:01:35 +0000 Subject: [PATCH] bug fix from previous commit git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4815 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/src/net/sourceforge/pmd/renderers/VBHTMLRenderer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pmd/src/net/sourceforge/pmd/renderers/VBHTMLRenderer.java b/pmd/src/net/sourceforge/pmd/renderers/VBHTMLRenderer.java index ac0199fc1b..a11a3b7078 100644 --- a/pmd/src/net/sourceforge/pmd/renderers/VBHTMLRenderer.java +++ b/pmd/src/net/sourceforge/pmd/renderers/VBHTMLRenderer.java @@ -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();