garydgregory commented on pull request #300:
URL: https://github.com/apache/commons-io/pull/300#issuecomment-962507379


   I ended up reworking the underlying so that now the method looks like this
   ```
       public static void close(final Closeable... closeables) throws 
IOException {
           IOConsumer.forEach(closeables, IOUtils::close);
       }
   ```
   See also `forEachIndex` which provides slightly different information for 
compatibility with other call sites.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to