ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sco...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/net FTP.java
Date Thu, 19 May 2005 07:58:54 GMT
scohen      2005/05/19 00:58:54

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/net FTP.java
  Log:
  fix bug 34941
  
  Revision  Changes    Path
  1.72      +2 -2      ant/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
  
  Index: FTP.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -r1.71 -r1.72
  --- FTP.java	14 May 2005 13:14:14 -0000	1.71
  +++ FTP.java	19 May 2005 07:58:54 -0000	1.72
  @@ -1722,9 +1722,9 @@
           long localTimestamp = localFile.lastModified();
   
           if (this.action == SEND_FILES) {
  -            return remoteTimestamp + timeDiffMillis > localTimestamp;
  +            return remoteTimestamp + timeDiffMillis >= localTimestamp;
           } else {
  -            return localTimestamp > remoteTimestamp + timeDiffMillis;
  +            return localTimestamp >= remoteTimestamp + timeDiffMillis;
           }
       }
   
  
  
  

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


Mime
View raw message