From 68721e8607c9cdb8a2694b21a4f8586969bd943d Mon Sep 17 00:00:00 2001 From: Jesse McConnell Date: Thu, 14 Jun 2007 20:08:06 +0000 Subject: [PATCH] flush the outputwriter so its all cleaned up git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547385 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/maven/archiva/xml/XMLWriter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/archiva-base/archiva-xml-tools/src/main/java/org/apache/maven/archiva/xml/XMLWriter.java b/archiva-base/archiva-xml-tools/src/main/java/org/apache/maven/archiva/xml/XMLWriter.java index 575d8e7bc..1f352519a 100644 --- a/archiva-base/archiva-xml-tools/src/main/java/org/apache/maven/archiva/xml/XMLWriter.java +++ b/archiva-base/archiva-xml-tools/src/main/java/org/apache/maven/archiva/xml/XMLWriter.java @@ -41,6 +41,7 @@ public class XMLWriter OutputFormat outputFormat = OutputFormat.createPrettyPrint(); org.dom4j.io.XMLWriter xmlwriter = new org.dom4j.io.XMLWriter( writer, outputFormat ); xmlwriter.write( doc ); + xmlwriter.flush(); } catch ( IOException e ) { -- 2.39.5