You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2008/02/12 10:03:08 UTC

[jira] Commented: (JCR-1374) [PATCH] make sure streams are closed

    [ https://issues.apache.org/jira/browse/JCR-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568008#action_12568008 ] 

Tobias Bocanegra commented on JCR-1374:
---------------------------------------

i would use:

http://commons.apache.org/io/api-release/org/apache/commons/io/IOUtils.html#closeQuietly(java.io.InputStream)



> [PATCH] make sure streams are closed
> ------------------------------------
>
>                 Key: JCR-1374
>                 URL: https://issues.apache.org/jira/browse/JCR-1374
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 1.4
>            Reporter: Dave Brosius
>             Fix For: 1.4.1
>
>         Attachments: close_on_finally.patch
>
>
> Stream isn't closed on end of use. this patch fixes it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.