You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2009/05/20 17:08:47 UTC

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

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;
     }