cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1886) [patch] Make sure sterams get closed
Date Wed, 22 Dec 2010 21:05:01 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974389#action_12974389
] 

Hudson commented on CASSANDRA-1886:
-----------------------------------

Integrated in Cassandra-0.7 #110 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/110/])
    add FileUtils.closeQuietly and finally-close blocks
patch by Dave Brosius; reviewed by jbellis for CASSANDRA-1886


> [patch] Make sure sterams get closed
> ------------------------------------
>
>                 Key: CASSANDRA-1886
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1886
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 0.7.1
>
>         Attachments: close_files.diff, close_files.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Various places in the code either don't close the streams they open, or only close them
in success cases. Moved close operations to finally blocks, and use commons-io to quiet the
close operations (IOUtils.closeQuietly)

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


Mime
View raw message