[GitHub] commons-io pull request #66: Avoid Code Duplication: Reuse Sleep from Thread...

2018-10-14 Thread DaGeRe
GitHub user DaGeRe opened a pull request: https://github.com/apache/commons-io/pull/66 Avoid Code Duplication: Reuse Sleep from ThreadMonitor It makes no sense to duplicate code, like the sleep method, just to keep the interface private. You can merge this pull request into a Git

[GitHub] commons-io pull request #65: Performance Enhancement: Call toArray with Zero...

2018-10-10 Thread DaGeRe
GitHub user DaGeRe opened a pull request: https://github.com/apache/commons-io/pull/65 Performance Enhancement: Call toArray with Zero Array Size toArray should, at least since Java 7, be used with new T[0] instead of size, since it is "faster, safer, and contractually cl