tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luciano Resende" <luckbr1...@gmail.com>
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 ConstrainingTypeDocumentPro
Date Fri, 06 Apr 2007 15:23:12 GMT
Sure, I can do it...

On 4/6/07, Jean-Sebastien Delfino <jsdelfino@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message