You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mikhail Mazursky (JIRA)" <ji...@apache.org> on 2014/04/12 07:36:15 UTC
[jira] [Commented] (IO-388) CloseAllQuietly Method
[ https://issues.apache.org/jira/browse/IO-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967412#comment-13967412 ]
Mikhail Mazursky commented on IO-388:
-------------------------------------
It's a bad idea to provide such method - as practice shows it is very often misused. Take a look at the discussion here https://code.google.com/p/guava-libraries/issues/detail?id=1118
> CloseAllQuietly Method
> ----------------------
>
> Key: IO-388
> URL: https://issues.apache.org/jira/browse/IO-388
> Project: Commons IO
> Issue Type: Wish
> Reporter: BELUGA BEHR
> Priority: Minor
>
> public static void closeAllQuietly(Closeable... closables) {
> for (Closeable closable : closables)
> {
> closeQuietly(closable);
> }
> }
--
This message was sent by Atlassian JIRA
(v6.2#6252)