[sip-comm-cvs] CVS update: /sip-communicator/src/net/java/sip/communicator/util/xml/XMLUtils.java

emcho at dev.java.net emcho at dev.java.net
Mon Apr 23 15:07:28 CEST 2007


User: emcho   
Date: 2007-04-23 13:07:28+0000
Log:
 close writer after every indented write

File Changes:

Directory: /sip-communicator/src/net/java/sip/communicator/util/xml/
====================================================================

File [changed]: XMLUtils.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/src/net/java/sip/communicator/util/xml/XMLUtils.java?r1=1.9&r2=1.10
Delta lines:  +1 -0
-------------------
--- XMLUtils.java	2007-01-22 09:48:34+0000	1.9
+++ XMLUtils.java	2007-04-23 13:07:26+0000	1.10
@@ -283,6 +283,7 @@
                 wri.write("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"+lSep);
                 (new DOMElementWriter()).write(rootElement, wri, 0, "  ");
                 wri.flush();
+                wri.close();
             }
             catch (IOException exc)
             {




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: cvs-help at sip-communicator.dev.java.net





More information about the commits mailing list