dlg99 opened a new issue #1740: IOUtils.close() only accepts Closeable as a 
vararg which results in unnecessary Object[] created if only one Closeable 
passed there
URL: https://github.com/apache/bookkeeper/issues/1740
 
 
   
   **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.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to