ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r957441 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SignJar.java
Date Thu, 24 Jun 2010 07:33:35 GMT
Author: bodewig
Date: Thu Jun 24 07:33:35 2010
New Revision: 957441

URL: http://svn.apache.org/viewvc?rev=957441&view=rev
Log:
Use FileUtils#setFileLastModified instead of File#setLastModified

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SignJar.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SignJar.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SignJar.java?rev=957441&r1=957440&r2=957441&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SignJar.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SignJar.java Thu Jun 24 07:33:35
2010
@@ -435,7 +435,7 @@ public class SignJar extends AbstractJar
 
         // restore the lastModified attribute
         if (preserveLastModified) {
-            targetFile.setLastModified(lastModified);
+            FILE_UTILS.setFileLastModified(targetFile, lastModified);
         }
     }
 



Mime
View raw message