commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwins...@apache.org
Subject svn commit: r491912 - /jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParserTest.java
Date Tue, 02 Jan 2007 19:52:18 GMT
Author: rwinston
Date: Tue Jan  2 11:52:17 2007
New Revision: 491912

URL: http://svn.apache.org/viewvc?view=rev&rev=491912
Log:
Fix issue where timestamp year fields are different (due to date rollover)

Modified:
    jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParserTest.java

Modified: jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParserTest.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParserTest.java?view=diff&rev=491912&r1=491911&r2=491912
==============================================================================
--- jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParserTest.java
(original)
+++ jakarta/commons/proper/net/branches/JDK_1_5_BRANCH/src/test/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParserTest.java
Tue Jan  2 11:52:17 2007
@@ -90,7 +90,7 @@
 		cal.set(Calendar.MINUTE, 12);
 		cal.set(Calendar.SECOND, 0);
 		cal.set(Calendar.MILLISECOND, 0);
-		
+		cal.set(Calendar.YEAR, f.getTimestamp().get(Calendar.YEAR));
 		assertEquals(df.format(cal.getTime()), df.format(f.getTimestamp()
 				.getTime()));
 



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


Mime
View raw message