**BUG REPORT**

1. Please describe the issue you observed:

IOUtils.close() only accepts Closeable as a vararg which results in unnecessary 
Object[] created if only one Closeable passed there
100% of close() usage is with only one Closeable.
While it is not very often used (log rotation, shutdown etc) we can still avoid 
this extra allocation.

[ Full content available at: https://github.com/apache/bookkeeper/issues/1740 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

Reply via email to