On 2016-03-28, <[email protected]> wrote: > embrace AutoCloseable
There've been only a few places where try-with-resources could be used because of our extensive use of FileUtils.close which swallows exceptions thrown during close. The bigger impact likely has FileUtils.close(AutoCloseable) and making ZipFile implement AutoCloseable. While grepping through our finally blocks I saw a few places where FileUtils.close was re-invented or where tryHardToDelete should be used - I'll fix those on the 1.9.x branch and merge it back to master sometime later. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
