ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Zip.java
Date Tue, 18 Mar 2003 13:15:48 GMT
bodewig     2003/03/18 05:15:48

  Modified:    src/main/org/apache/tools/ant/taskdefs Zip.java
  Log:
  JDK 1.1
  
  Revision  Changes    Path
  1.102     +2 -2      ant/src/main/org/apache/tools/ant/taskdefs/Zip.java
  
  Index: Zip.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Zip.java,v
  retrieving revision 1.101
  retrieving revision 1.102
  diff -u -r1.101 -r1.102
  --- Zip.java	12 Mar 2003 11:23:27 -0000	1.101
  +++ Zip.java	18 Mar 2003 13:15:48 -0000	1.102
  @@ -844,11 +844,11 @@
               Vector resources = new Vector();
               String[] directories = rs.getIncludedDirectories();
               for (int j = 0; j < directories.length; j++) {
  -                resources.add(rs.getResource(directories[j]));
  +                resources.addElement(rs.getResource(directories[j]));
               }
               String[] files = rs.getIncludedFiles();
               for (int j = 0; j < files.length; j++) {
  -                resources.add(rs.getResource(files[j]));
  +                resources.addElement(rs.getResource(files[j]));
               }
               
               result[i] = new Resource[resources.size()];
  
  
  

Mime
View raw message