Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/luni/src/main/java/java/util/zip/ZipFile.java b/luni/src/main/java/java/util/
- index 133f03f..74e62e6 100644
- --- a/luni/src/main/java/java/util/zip/ZipFile.java
- +++ b/luni/src/main/java/java/util/zip/ZipFile.java
- @@ -95,7 +95,7 @@ public class ZipFile implements ZipConstants {
- private final String filename;
- - private File mFileToDeleteOnClose;
- + private File fileToDeleteOnClose;
- private RandomAccessFile raf;
- @@ -140,7 +140,7 @@ public class ZipFile implements ZipConstants {
- fileToDeleteOnClose = file;
- fileToDeleteOnClose.deleteOnExit();
- } else {
- - mFileToDeleteOnClose = null;
- + fileToDeleteOnClose = null;
- }
- raf = new RandomAccessFile(filename, "r");
- @@ -179,9 +179,9 @@ public class ZipFile implements ZipConstants {
- raf = null;
- localRaf.close();
- }
- - if (mFileToDeleteOnClose != null) {
- - mFileToDeleteOnClose.delete();
- - mFileToDeleteOnClose = null;
- + if (fileToDeleteOnClose != null) {
- + fileToDeleteOnClose.delete();
- + fileToDeleteOnClose = null;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment