ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r801276 - /ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Unar.java
Date Wed, 05 Aug 2009 15:52:22 GMT
Author: bodewig
Date: Wed Aug  5 15:52:22 2009
New Revision: 801276

URL: http://svn.apache.org/viewvc?rev=801276&view=rev
Log:
ar uses seconds since epoch (but commons compress 1.0 doesn't read it anyway)

Modified:
    ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Unar.java

Modified: ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Unar.java
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Unar.java?rev=801276&r1=801275&r2=801276&view=diff
==============================================================================
--- ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Unar.java
(original)
+++ ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/taskdefs/Unar.java
Wed Aug  5 15:52:22 2009
@@ -38,7 +38,7 @@
 
     protected Date getLastModified(ArchiveEntry entry) {
         /* TODO - revisit */
-        return new Date(((ArArchiveEntry) entry).getLastModified());
+        return new Date(((ArArchiveEntry) entry).getLastModified() * 1000);
     }
 
 }



Mime
View raw message