You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2010/01/10 01:25:54 UTC

[jira] Resolved: (IO-224) IOUtils.closeQuietly() should take a Closeable as a parameter.

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

Niall Pemberton resolved IO-224.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0
         Assignee: Niall Pemberton

Added, thanks for the suggestion:

http://svn.apache.org/viewvc?view=revision&revision=897582

> IOUtils.closeQuietly() should take a Closeable as a parameter.
> --------------------------------------------------------------
>
>                 Key: IO-224
>                 URL: https://issues.apache.org/jira/browse/IO-224
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 1.4
>            Reporter: Sean Cote
>            Assignee: Niall Pemberton
>            Priority: Minor
>             Fix For: 2.0
>
>
> Right now, there are several IOUtils.closeQuietly methods that take things like InputStream, OutputStream, Reader, Writer, but why not simply have one IOUtils.closeQuietly method which takes a Closeable? It seems like this would simplify things and also enhance the usability of the function.

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