commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schulte (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IO-504) Deprecation of all 'IOUtils.closeQuietly' methods.
Date Thu, 05 May 2016 23:03:12 GMT

     [ https://issues.apache.org/jira/browse/IO-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Schulte updated IO-504:
---------------------------------
    Attachment: IO-504.patch

Patch deprecating 'closeQuietly' methods and updating usages to the try-with-resources-statement.

> Deprecation of all 'IOUtils.closeQuietly' methods.
> --------------------------------------------------
>
>                 Key: IO-504
>                 URL: https://issues.apache.org/jira/browse/IO-504
>             Project: Commons IO
>          Issue Type: Wish
>            Reporter: Christian Schulte
>            Priority: Critical
>         Attachments: IO-504.patch
>
>
> As soon as 'commons-io' is targetted at Java 7, all 'IOUtils.closeQuietly' methods should
be deprecated and people should be told to use the try-with-resources statement. Those methods
are way to error prone and used incorrectly almost everywhere. If 'commons-io' has  '-target
1.7', keeping those methods makes no sense anymore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message