Author: carnold
Date: Wed Jan 20 05:19:05 2010
New Revision: 901064

URL: http://svn.apache.org/viewvc?rev=901064&view=rev
Log:
Unit test fail for system datesafter 2009-12-31

Modified:
    logging/log4j/trunk/src/changes/changes.xml
    logging/log4j/trunk/tests/src/java/org/apache/log4j/util/Filter.java

Modified: logging/log4j/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/logging/log4j/trunk/src/changes/changes.xml?rev=901064&r1=901063&r2=901064&view=diff
==============================================================================
--- logging/log4j/trunk/src/changes/changes.xml (original)
+++ logging/log4j/trunk/src/changes/changes.xml Wed Jan 20 05:19:05 2010
@@ -92,6 +92,7 @@
        <action action="fix" issue="45481">Source contains unnecessary 
imports.</action>
        <action action="add" issue="48159">Add 
LoggingEvent.removeProperty</action>
        <action action="add" issue="48187">Typo ("two three goals") in log4j 
FAQ</action>
+       <action action="fix" issue="48531">Unit tests fail for system dates 
after 2009-12-31</action>
     </release>
 
   

Modified: logging/log4j/trunk/tests/src/java/org/apache/log4j/util/Filter.java
URL: 
http://svn.apache.org/viewvc/logging/log4j/trunk/tests/src/java/org/apache/log4j/util/Filter.java?rev=901064&r1=901063&r2=901064&view=diff
==============================================================================
--- logging/log4j/trunk/tests/src/java/org/apache/log4j/util/Filter.java 
(original)
+++ logging/log4j/trunk/tests/src/java/org/apache/log4j/util/Filter.java Wed 
Jan 20 05:19:05 2010
@@ -25,7 +25,7 @@
   // 06 avr. 2002 18:36:32,036
   // 18 fevr. 2002 20:05:36,222
   static public final String ABSOLUTE_DATE_AND_TIME_PAT = 
-                           "^\\d{1,2} .{2,6}\\.? 200\\d 
\\d{2}:\\d{2}:\\d{2},\\d{3}";
+                           "^\\d{1,2} .{2,6}\\.? 2\\d{3} 
\\d{2}:\\d{2}:\\d{2},\\d{3}";
 
   // 18:54:19,201
   static public final String ABSOLUTE_TIME_PAT = 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to