ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umag...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant DirectoryScanner.java
Date Fri, 17 May 2002 21:10:24 GMT
umagesh     02/05/17 14:10:24

  Modified:    src/main/org/apache/tools/ant Tag: ANT_15_BRANCH
                        DirectoryScanner.java
  Log:
  JDK 1.1 Compliance
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.25.2.2  +3 -3      jakarta-ant/src/main/org/apache/tools/ant/DirectoryScanner.java
  
  Index: DirectoryScanner.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/DirectoryScanner.java,v
  retrieving revision 1.25.2.1
  retrieving revision 1.25.2.2
  diff -u -r1.25.2.1 -r1.25.2.2
  --- DirectoryScanner.java	10 May 2002 12:53:57 -0000	1.25.2.1
  +++ DirectoryScanner.java	17 May 2002 21:10:24 -0000	1.25.2.2
  @@ -653,17 +653,17 @@
                               filesExcluded.addElement(name);
                           }
                       } else {
  -                        noLinks.add(newfiles[i]);
  +                        noLinks.addElement(newfiles[i]);
                       }
                   } catch (IOException ioe) {
                       String msg = "IOException caught while checking "
                           + "for links, couldn't get cannonical path!";
                       // will be caught and redirected to Ant's logging system
                       System.err.println(msg);
  -                    noLinks.add(newfiles[i]);
  +                    noLinks.addElement(newfiles[i]);
                   }
               }
  -            newfiles = new String[noLinks.size()]; 
  +            newfiles = new String[noLinks.size()];
               noLinks.copyInto(newfiles);
           }
   
  
  
  

--
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