ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/types ZipScanner.java
Date Fri, 24 Jan 2003 13:28:47 GMT
conor       2003/01/24 05:28:47

  Modified:    src/main/org/apache/tools/ant/types ZipScanner.java
  Log:
  JDK 1.1
  
  Revision  Changes    Path
  1.9       +2 -2      jakarta-ant/src/main/org/apache/tools/ant/types/ZipScanner.java
  
  Index: ZipScanner.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/types/ZipScanner.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -w -u -r1.8 -r1.9
  --- ZipScanner.java	22 Jan 2003 13:27:13 -0000	1.8
  +++ ZipScanner.java	24 Jan 2003 13:28:46 -0000	1.9
  @@ -235,7 +235,7 @@
            for (int counter = 0; counter < myentries.size(); counter++) {
                Resource myresource = (Resource) myentries.elementAt(counter);
                if (myresource.isDirectory() && match(myresource.getName())) {
  -                 myvector.add(myresource.clone());
  +                 myvector.addElement(myresource.clone());
                }
            }
            Resource[] resources = new Resource[myvector.size()];
  @@ -308,7 +308,7 @@
                       if (entry == null) {
                           break;
                       }
  -                    myentries.add(new Resource(entry.getName(),
  +                    myentries.addElement(new Resource(entry.getName(),
                                                  true,
                                                  entry.getTime(),
                                                  entry.isDirectory()));
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message