DaGeRe opened a new pull request #81: Performance Improvement: Call toArray with 0 Array Size URL: https://github.com/apache/commons-compress/pull/81 Since Java 6, calling toArray with an array of size is faster than calling it with the size of the array (https://shipilev.net/blog/2016/arrays-wisdom-ancients/). This is also a PMD recommendation: https://pmd.github.io/latest/pmd_rules_java_performance.html#optimizabletoarraycall I changed this in the code.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services