From 77f78a9d153df701f9d1744698914a3f89b13b74 Mon Sep 17 00:00:00 2001 From: Justin Mclean Date: Mon, 9 Nov 2015 12:16:39 +1100 Subject: [PATCH 1/2] Add version number to XML --- src/main/java/com/cflint/XMLOutput.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cflint/XMLOutput.java b/src/main/java/com/cflint/XMLOutput.java index 88cc0e0b2..f602fd352 100644 --- a/src/main/java/com/cflint/XMLOutput.java +++ b/src/main/java/com/cflint/XMLOutput.java @@ -17,7 +17,7 @@ public class XMLOutput { public void output(final BugList bugList, final Writer writer) throws IOException { // final StringBuilder sb = new StringBuilder(); - writer.append("").append(System.getProperty("line.separator")); + writer.append("").append(System.getProperty("line.separator")); for (final Entry> bugEntry : bugList.getBugList().entrySet()) { final Iterator iterator = bugEntry.getValue().iterator(); BugInfo bugInfo = iterator.hasNext() ? iterator.next() : null; From 19790057fe5083bd904c44d295ea956de38ff054 Mon Sep 17 00:00:00 2001 From: Justin Mclean Date: Mon, 9 Nov 2015 12:17:10 +1100 Subject: [PATCH 2/2] Don't hard code version number in XML style sheet --- src/main/resources/findbugs/cflint-to-findbugs.xsl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/resources/findbugs/cflint-to-findbugs.xsl b/src/main/resources/findbugs/cflint-to-findbugs.xsl index 974926fa5..8f7b6e531 100644 --- a/src/main/resources/findbugs/cflint-to-findbugs.xsl +++ b/src/main/resources/findbugs/cflint-to-findbugs.xsl @@ -10,7 +10,11 @@ xmlns:sets="http://exslt.org/sets"> - + + + + +