Re: Closing Streams, was Re: svn commit: r525992 - in /incubator/tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/assembly/xml/impl: ComponentTypeDocumentProcessor.java Composite

2007-04-06 Thread Jean-Sebastien Delfino
Luciano Resende wrote: Hi Sebastien On the code below, should we close the stream after it is being consumed ? XMLStreamReader reader = inputFactory.createXMLStreamReader( url.openStream()); I didn't see it being closed inside the CompositeProcessor.read() or

Re: Closing Streams, was Re: svn commit: r525992 - in /incubator/tuscany/java/sca/modules/assembly-xml/src/main/java/org/apache/tuscany/assembly/xml/impl: ComponentTypeDocumentProcessor.java Composite

2007-04-06 Thread Luciano Resende
Sure, I can do it... On 4/6/07, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Luciano Resende wrote: Hi Sebastien On the code below, should we close the stream after it is being consumed ? XMLStreamReader reader = inputFactory.createXMLStreamReader( url.openStream()); I didn't see