]> source.dussan.org Git - archiva.git/commitdiff
flush the outputwriter so its all cleaned up
authorJesse McConnell <jmcconnell@apache.org>
Thu, 14 Jun 2007 20:08:06 +0000 (20:08 +0000)
committerJesse McConnell <jmcconnell@apache.org>
Thu, 14 Jun 2007 20:08:06 +0000 (20:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547385 13f79535-47bb-0310-9956-ffa450edef68

archiva-base/archiva-xml-tools/src/main/java/org/apache/maven/archiva/xml/XMLWriter.java

index 575d8e7bce5b542a36e60e2c1b6128dd2c898610..1f352519a8a75fda47fe75980e100243e92d5975 100644 (file)
@@ -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 )
         {