You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2017/04/18 15:25:41 UTC

[jira] [Commented] (COMPRESS-362) Bullet-proof code using try-with-resources statements

    [ https://issues.apache.org/jira/browse/COMPRESS-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15972907#comment-15972907 ] 

Stefan Bodewig commented on COMPRESS-362:
-----------------------------------------

sorry, there are a few more {{finally}}s, but neither of them is a candidate for try-with-resources.

> Bullet-proof code using try-with-resources statements
> -----------------------------------------------------
>
>                 Key: COMPRESS-362
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-362
>             Project: Commons Compress
>          Issue Type: Improvement
>    Affects Versions: 1.12
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 1.14
>
>
> Bullet-proof code using try-with-resources statements. Some code fragments already use try-finally blocks, so for these, the code looks cleaners. For other code fragments that do not use try-finally blocks, this is an improvement.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)