commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1531788 - /commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java
Date Mon, 14 Oct 2013 03:42:34 GMT
Author: bodewig
Date: Mon Oct 14 03:42:33 2013
New Revision: 1531788

URL: http://svn.apache.org/r1531788
Log:
time in DOS version is in local time

Modified:
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java

Modified: commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java?rev=1531788&r1=1531787&r2=1531788&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java
(original)
+++ commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/arj/ArjArchiveInputStreamTest.java
Mon Oct 14 03:42:33 2013
@@ -56,8 +56,8 @@ public class ArjArchiveInputStreamTest e
         assertEquals("test1.xml", entry.getName());
         assertEquals(30, entry.getSize());
         assertEquals(0, entry.getUnixMode());
-        Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("GMT+0000"));
-        cal.set(2008, 9, 6, 21, 50, 52);
+        Calendar cal = Calendar.getInstance();
+        cal.set(2008, 9, 6, 23, 50, 52);
         cal.set(Calendar.MILLISECOND, 0);
         assertEquals(cal.getTime(), entry.getLastModifiedDate());
     }



Mime
View raw message