You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Luciano Resende <lu...@gmail.com> on 2007/04/06 17:23:12 UTC

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 ConstrainingTypeDocumentPro

Sure, I can do it...

On 4/6/07, Jean-Sebastien Delfino <js...@apache.org> 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 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
>
>


-- 
Luciano Resende
http://people.apache.org/~lresende