[BUILDTOOLS-19] The ZipFile zip is never closed Created: 02/Dec/14 Updated: 17/Nov/17 Resolved: 17/Nov/17 |
|
Status: | Resolved |
Project: | BuildTools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | xGhOsTkiLLeRx | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Description |
To prevent memory leaks the zip Resource should be closed. in public static void unzip(File zipFile, File targetFolder, Predicate<String> filter) throws IOException ZipFile zip = new ZipFile(zipFile);
Should be closed at the end of the method |
Comments |
Comment by GunfighterJ [ 02/Dec/14 ] |
Thanks for the report, this will be fixed. |