commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1100135 - /commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java
Date Fri, 06 May 2011 08:52:10 GMT
Author: sebb
Date: Fri May  6 08:52:09 2011
New Revision: 1100135

URL: http://svn.apache.org/viewvc?rev=1100135&view=rev
Log:
NET-407 Change lenientFutureDates to default to true
Test assumes false

Modified:
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java

Modified: commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java?rev=1100135&r1=1100134&r2=1100135&view=diff
==============================================================================
--- commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java
(original)
+++ commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java
Fri May  6 08:52:09 2011
@@ -120,6 +120,7 @@ public class FTPTimestampParserImplTest 
         config.setRecentDateFormatStr(FTPTimestampParser.DEFAULT_RECENT_SDF);
         // 2 hours difference
         config.setServerTimeZoneId("America/Chicago");
+        config.setLenientFutureDates(false); // NET-407
         parser.configure(config);
 
         SimpleDateFormat sdf = (SimpleDateFormat)



Mime
View raw message