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/taskdefs Concat.java
Date Mon, 13 Jun 2005 16:09:49 GMT
mbenson     2005/06/13 09:09:49

  Modified:    src/main/org/apache/tools/ant/taskdefs Concat.java
  Log:
  Fix (add!) outofdate check as indicated by Martijn. D'oh!
  
  Revision  Changes    Path
  1.47      +2 -4      ant/src/main/org/apache/tools/ant/taskdefs/Concat.java
  
  Index: Concat.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Concat.java,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- Concat.java	12 Jun 2005 17:55:14 -0000	1.46
  +++ Concat.java	13 Jun 2005 16:09:49 -0000	1.47
  @@ -431,10 +431,8 @@
               if (!outofdate) {
                   for (Iterator i = existRc.iterator(); !outofdate && i.hasNext();)
{
                       Resource r = (Resource) i.next();
  -                    //TODO jkf, Seems the following code, or code like the 
  -                    //following code is missing, can someone confirm?
  -                    //outofdate = (r.getLastModified()==0L || 
  -                    //        r.getLastModified() > destinationFile.lastModified())
  +                    outofdate = (r.getLastModified() == 0L || 
  +                        r.getLastModified() > destinationFile.lastModified());
                   }
               }
               if (!outofdate) {
  
  
  

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


Mime
View raw message