svn commit: r776726 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r776726 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java

jonesde
Author: jonesde
Date: Wed May 20 15:08:47 2009
New Revision: 776726

URL: http://svn.apache.org/viewvc?rev=776726&view=rev
Log:
Small change to use the stream that was opened and closed instead of opening another one

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java?rev=776726&r1=776725&r2=776726&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilXml.java Wed May 20 15:08:47 2009
@@ -349,7 +349,7 @@
             return null;
         }
         InputStream is = url.openStream();
-        Document document = readXmlDocument(url.openStream(), validate, url.toString());
+        Document document = readXmlDocument(is, validate, url.toString());
         is.close();
         return document;
     }