tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Sebastien Delfino <jsdelf...@apache.org>
Subject 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 CompositeDocumentProcessor.java ConstrainingTypeDocumentProcess
Date Fri, 06 Apr 2007 14:31:11 GMT
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
> CompositeDocumentProcessor.read()
>
>

Yes :) Do you want to make the change? or should I do it?

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Mime
View raw message