Added column headings
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2077 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -9,7 +9,12 @@ import java.util.Iterator;
|
||||
|
||||
public class CSVRenderer implements Renderer {
|
||||
public String render(Report report) {
|
||||
StringBuffer buf = new StringBuffer();
|
||||
StringBuffer buf = new StringBuffer(quoteAndCommify("Problem"));
|
||||
buf.append(quoteAndCommify("File"));
|
||||
buf.append(quoteAndCommify("Line"));
|
||||
buf.append(quote("Description"));
|
||||
buf.append(PMD.EOL);
|
||||
|
||||
int violationCount = 1;
|
||||
for (Iterator i = report.iterator(); i.hasNext();) {
|
||||
RuleViolation rv = (RuleViolation) i.next();
|
||||
|
Reference in New Issue
Block a user