Author: darran.lofthouse(a)jboss.com
Date: 2009-02-09 07:31:12 -0500 (Mon, 09 Feb 2009)
New Revision: 9266
Modified:
stack/native/branches/dlofthouse/JBPAPP-1687/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java
Log:
Merge revision 8286
Modified:
stack/native/branches/dlofthouse/JBPAPP-1687/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java
===================================================================
---
stack/native/branches/dlofthouse/JBPAPP-1687/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java 2009-02-09
12:28:52 UTC (rev 9265)
+++
stack/native/branches/dlofthouse/JBPAPP-1687/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java 2009-02-09
12:31:12 UTC (rev 9266)
@@ -275,16 +275,8 @@
log.debug("XMLSchema import published to: " + xsdURL);
// recursively publish imports
- InputStream xsdStream = xsdURL.openStream();
- try
- {
- Element subdoc = DOMUtils.parse(xsdStream);
- publishSchemaImports(xsdURL, subdoc, published);
- }
- finally
- {
- xsdStream.close();
- }
+ Element subdoc = DOMUtils.parse(xsdURL.openStream());
+ publishSchemaImports(xsdURL, subdoc, published);
}
}
}
Show replies by date