You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (Jira)" <ji...@apache.org> on 2020/08/10 22:08:00 UTC

[jira] [Resolved] (IO-681) IOUtils.close(Closeable) should allow a list of closeables

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

Sebb resolved IO-681.
---------------------
    Fix Version/s: 2.8
       Resolution: Fixed

commit aefc8f42b027b33eb7b7d3346daef46e21384535
    IO-681 IOUtils.close(Closeable) - allow a list
---
 src/changes/changes.xml                                  |  3 +++
 src/main/java/org/apache/commons/io/IOUtils.java         | 10 ++++++----
 src/test/java/org/apache/commons/io/IOUtilsTestCase.java |  9 +++++++++
 3 files changed, 18 insertions(+), 4 deletions(-)


> IOUtils.close(Closeable) should allow a list of closeables
> ----------------------------------------------------------
>
>                 Key: IO-681
>                 URL: https://issues.apache.org/jira/browse/IO-681
>             Project: Commons IO
>          Issue Type: Improvement
>            Reporter: Sebb
>            Priority: Minor
>             Fix For: 2.8
>
>
> It would be helpful to be able to apply IOUtils.close(Closeable) to multiple closeables.
> This was supported by the now deprecated method closeQuietly(Closeable...)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)