From: Jesse McConnell Date: Thu, 14 Jun 2007 20:08:06 +0000 (+0000) Subject: flush the outputwriter so its all cleaned up X-Git-Tag: archiva-1.0-alpha-2~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=68721e8607c9cdb8a2694b21a4f8586969bd943d;p=archiva.git 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 --- 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 ) {