ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant DirectoryScanner.java
Date Fri, 05 Aug 2005 22:39:25 GMT
mbenson     2005/08/05 15:39:25

  Modified:    src/main/org/apache/tools/ant DirectoryScanner.java
  Log:
  minus one LOC
  
  Revision  Changes    Path
  1.102     +1 -2      ant/src/main/org/apache/tools/ant/DirectoryScanner.java
  
  Index: DirectoryScanner.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/DirectoryScanner.java,v
  retrieving revision 1.101
  retrieving revision 1.102
  diff -u -r1.101 -r1.102
  --- DirectoryScanner.java	23 May 2005 19:31:13 -0000	1.101
  +++ DirectoryScanner.java	5 Aug 2005 22:39:25 -0000	1.102
  @@ -1079,8 +1079,7 @@
                       noLinks.addElement(newfiles[i]);
                   }
               }
  -            newfiles = new String[noLinks.size()];
  -            noLinks.copyInto(newfiles);
  +            newfiles = (String[]) (noLinks.toArray(new String[noLinks.size()]));
           }
           for (int i = 0; i < newfiles.length; i++) {
               String name = vpath + newfiles[i];
  
  
  

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


Mime
View raw message