linuxman94

Untitled

Jul 25th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.24 KB | None | 0 0
  1. diff --git a/luni/src/main/java/java/util/zip/ZipFile.java b/luni/src/main/java/java/util/
  2. index 133f03f..74e62e6 100644
  3. --- a/luni/src/main/java/java/util/zip/ZipFile.java
  4. +++ b/luni/src/main/java/java/util/zip/ZipFile.java
  5. @@ -95,7 +95,7 @@ public class ZipFile implements ZipConstants {
  6.  
  7.      private final String filename;
  8.  
  9. -    private File mFileToDeleteOnClose;
  10. +    private File fileToDeleteOnClose;
  11.  
  12.      private RandomAccessFile raf;
  13.  
  14. @@ -140,7 +140,7 @@ public class ZipFile implements ZipConstants {
  15.              fileToDeleteOnClose = file;
  16.              fileToDeleteOnClose.deleteOnExit();
  17.          } else {
  18. -            mFileToDeleteOnClose = null;
  19. +            fileToDeleteOnClose = null;
  20.          }
  21.  
  22.          raf = new RandomAccessFile(filename, "r");
  23. @@ -179,9 +179,9 @@ public class ZipFile implements ZipConstants {
  24.                  raf = null;
  25.                  localRaf.close();
  26.              }
  27. -            if (mFileToDeleteOnClose != null) {
  28. -                mFileToDeleteOnClose.delete();
  29. -                mFileToDeleteOnClose = null;
  30. +            if (fileToDeleteOnClose != null) {
  31. +                fileToDeleteOnClose.delete();
  32. +                fileToDeleteOnClose = null;
  33.              }
  34.          }
  35.      }
Advertisement
Add Comment
Please, Sign In to add comment