Skip to content

Commit

Permalink
cflint#323 - Outputting HTMLXML style info in verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealAgentK committed Jul 2, 2017
1 parent 530d932 commit d2d2488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/cflint/main/CFLintMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ private void execute() throws IOException, TransformerException, JAXBException,
: createWriter(xmlOutFile, StandardCharsets.UTF_8);
if ("findbugs".equalsIgnoreCase(xmlstyle)) {
if (verbose) {
display("Writing XML findbugs style" + (stdOut ? "." : " to " + xmlOutFile));
display("Writing XML (style: findbugs)" + (stdOut ? "." : " to " + xmlOutFile));
}
new XMLOutput().outputFindBugs(cflint.getBugs(), xmlwriter, cflint.getStats());
} else {
Expand All @@ -475,7 +475,7 @@ private void execute() throws IOException, TransformerException, JAXBException,
if (htmlOutput) {
try {
if (verbose) {
display("Writing HTML" + (stdOut ? "." : " to " + htmlOutFile));
display("Writing HTML (style: " + htmlStyle + ")" + (stdOut ? "." : " to " + htmlOutFile));
}
final Writer htmlwriter = stdOut ? new OutputStreamWriter(System.out) : new FileWriter(htmlOutFile);
new HTMLOutput(htmlStyle).output(cflint.getBugs(), htmlwriter, cflint.getStats());
Expand Down

0 comments on commit d2d2488

Please sign in to comment.