added XML start tag
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@113 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -57,7 +57,7 @@ public class Report {
|
||||
}
|
||||
|
||||
private String renderToXML() {
|
||||
StringBuffer buf = new StringBuffer("<pmd>" + System.getProperty("line.separator"));
|
||||
StringBuffer buf = new StringBuffer("<?xml version=\"1.0\"?><pmd>" + System.getProperty("line.separator"));
|
||||
for (Iterator i = fileToViolationsMap.keySet().iterator(); i.hasNext();) {
|
||||
String filename = (String)i.next();
|
||||
List violations = (List)fileToViolationsMap.get(filename);
|
||||
|
Reference in New Issue
Block a user