From faf864dfcea3c11adb9f186b854cdcda6161c97f Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Thu, 14 Dec 2023 23:40:54 -0500 Subject: [PATCH] [cleanup] Remove flush as close already does that --- src/main/groovy/org/codehaus/mojo/spotbugs/XDocsReporter.groovy | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/groovy/org/codehaus/mojo/spotbugs/XDocsReporter.groovy b/src/main/groovy/org/codehaus/mojo/spotbugs/XDocsReporter.groovy index 3252d8f3..80b49728 100644 --- a/src/main/groovy/org/codehaus/mojo/spotbugs/XDocsReporter.groovy +++ b/src/main/groovy/org/codehaus/mojo/spotbugs/XDocsReporter.groovy @@ -232,7 +232,6 @@ class XDocsReporter { } outputWriter << xmlBuilder.bind(xdoc) - outputWriter.flush() outputWriter.close() }