You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by mb...@apache.org on 2005/03/09 23:00:41 UTC

cvs commit: ant/src/main/org/apache/tools/ant/types AbstractFileSet.java

mbenson     2005/03/09 14:00:41

  Modified:    src/main/org/apache/tools/ant/types AbstractFileSet.java
  Log:
  Switch to >= Java 1.2 method, a little clearer hopefully.
  
  Revision  Changes    Path
  1.48      +1 -1      ant/src/main/org/apache/tools/ant/types/AbstractFileSet.java
  
  Index: AbstractFileSet.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/AbstractFileSet.java,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- AbstractFileSet.java	18 Feb 2005 16:57:23 -0000	1.47
  +++ AbstractFileSet.java	9 Mar 2005 22:00:41 -0000	1.48
  @@ -784,7 +784,7 @@
                       fs.additionalPatterns
                           .addElement(((PatternSet) e.nextElement()).clone());
                   }
  -                fs.selectors = (Vector) fs.selectors.clone();
  +                fs.selectors = new Vector(selectors);
                   return fs;
               } catch (CloneNotSupportedException e) {
                   throw new BuildException(e);
  
  
  

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