Author: jonesde
Date: Wed May 20 15:08:47 2009
New Revision: 776726
URL:
http://svn.apache.org/viewvc?rev=776726&view=revLog:
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;
}