jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabián Mandelbaum <fmandelb...@gmail.com>
Subject Re: jcr:data inputstream.close()
Date Sun, 11 Oct 2009 12:27:57 GMT
Hello, if it helps, I use Common's IO AutoCloseInputStream to decorate
(enclose) the InputStream, that way when the thing is done with the
Stream, it's closed automatically, no need to call close() explicitly
on the stream.

On Sun, Oct 11, 2009 at 3:03 AM, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> Hi,
>
> On Sat, Oct 10, 2009 at 10:20 PM, Ben Short <ben@benshort.co.uk> wrote:
>> Should I close the inputstream obtained to read the data from a
>> jcr:data property?
>
> Yes.
>
> BR,
>
> Jukka Zitting
>



-- 
Fabián Mandelbaum
IS Engineer

Mime
View raw message