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/taskdefs DependSet.java
Date Sat, 18 Aug 2001 14:22:09 GMT
conor       01/08/18 07:22:09

  Modified:    src/main/org/apache/tools/ant/taskdefs Tag: ANT_14_BRANCH
                        DependSet.java
  Log:
  JDK 1.1 compatability
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +3 -3      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/DependSet.java
  
  Index: DependSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/DependSet.java,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- DependSet.java	2001/08/06 14:32:46	1.1
  +++ DependSet.java	2001/08/18 14:22:09	1.1.2.1
  @@ -105,7 +105,7 @@
    * </li></ulist>
    * 
    * @author <a href="mailto:cstrong@arielpartners.com">Craeg Strong</a>
  - * @version $Revision: 1.1 $ $Date: 2001/08/06 14:32:46 $
  + * @version $Revision: 1.1.2.1 $ $Date: 2001/08/18 14:22:09 $
    */
   public class DependSet extends MatchingTask {
   
  @@ -187,7 +187,7 @@
              for (int i = 0; i < targetFiles.length; i++) {
                       
                 File dest = new File(targetFS.getDir(project), targetFiles[i]);
  -              allTargets.add(dest);
  +              allTargets.addElement(dest);
   
                 if (dest.lastModified() > now) {
                    log("Warning: "+targetFiles[i]+" modified in the future.", 
  @@ -215,7 +215,7 @@
                    continue;
                 }
                 else {
  -                 allTargets.add(dest);
  +                 allTargets.addElement(dest);
                 }
                 if (dest.lastModified() > now) {
                    log("Warning: "+targetFiles[i]+" modified in the future.", 
  
  
  

Mime
View raw message