ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Zip.java
Date Wed, 24 Oct 2001 09:11:27 GMT
donaldp     01/10/24 02:11:27

  Modified:    src/main/org/apache/tools/ant/taskdefs Zip.java
  Log:
  A fix to make the cleanUp method do full cleanup.
  
  PR: 4366
  Submitted by: acl1@notes.ntrs.com
  
  Revision  Changes    Path
  1.53      +9 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Zip.java
  
  Index: Zip.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Zip.java,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- Zip.java	2001/09/26 07:07:01	1.52
  +++ Zip.java	2001/10/24 09:11:26	1.53
  @@ -97,7 +97,7 @@
        * Encoding to use for filenames, defaults to the platform's
        * default encoding.
        */
  -    private String encoding = null;
  +    private String encoding;
   
       /**
        * This is the name/location of where to
  @@ -751,5 +751,13 @@
       protected void cleanUp() {
           addedDirs = new Hashtable();
           addedFiles = new Vector();
  +        filesets = new Vector();
  +        zipFile = null;
  +        baseDir = null;
  +        doCompress = true;
  +        doUpdate = false;
  +        doFilesonly = false;
  +        addingNewFiles = false;
  +        encoding = null;
       }
   }
  
  
  

Mime
View raw message