Author: richard.opalka(a)jboss.com
Date: 2008-09-29 09:28:19 -0400 (Mon, 29 Sep 2008)
New Revision: 8286
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java
Log:
[JBWS-2325] fixing issue
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java 2008-09-29
13:23:16 UTC (rev 8285)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/wsf/stack/jbws/WSDLFilePublisher.java 2008-09-29
13:28:19 UTC (rev 8286)
@@ -271,16 +271,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