Author: carnold
Date: Tue Feb 23 04:58:01 2010
New Revision: 915181

URL: http://svn.apache.org/viewvc?rev=915181&view=rev
Log:
Bug 48531: Unit tests fail for system dates after 2009-12-31

Modified:
    logging/log4j/companions/extras/trunk/src/changes/changes.xml
    
logging/log4j/companions/extras/trunk/src/test/java/org/apache/log4j/util/Filter.java

Modified: logging/log4j/companions/extras/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/logging/log4j/companions/extras/trunk/src/changes/changes.xml?rev=915181&r1=915180&r2=915181&view=diff
==============================================================================
--- logging/log4j/companions/extras/trunk/src/changes/changes.xml (original)
+++ logging/log4j/companions/extras/trunk/src/changes/changes.xml Tue Feb 23 
04:58:01 2010
@@ -27,6 +27,7 @@
        <action action="fix" issue="45704">DOMConfigurator.configure(URL) fails 
on JRE 1.5.0_16.</action>
        <action action="fix" issue="46741">Misuse of "it's" in Javadoc for 
EnhancedPatternLayout.</action>
        <action action="fix" issue="46741">Leaving out %throwable in 
ConversionPattern adds throwable to logging message regardless.</action>
+       <action action="fix" issue="48531">Unit tests fail for system dates 
after 2009-12-31</action>
     </release>
 
 
@@ -42,4 +43,4 @@
       <action issue="42257" type="add">Enhance DOMConfigurator to delegate 
unrecognized elements to created objects.</action>
     </release>
   </body>
-</document>
\ No newline at end of file
+</document>

Modified: 
logging/log4j/companions/extras/trunk/src/test/java/org/apache/log4j/util/Filter.java
URL: 
http://svn.apache.org/viewvc/logging/log4j/companions/extras/trunk/src/test/java/org/apache/log4j/util/Filter.java?rev=915181&r1=915180&r2=915181&view=diff
==============================================================================
--- 
logging/log4j/companions/extras/trunk/src/test/java/org/apache/log4j/util/Filter.java
 (original)
+++ 
logging/log4j/companions/extras/trunk/src/test/java/org/apache/log4j/util/Filter.java
 Tue Feb 23 04:58:01 2010
@@ -21,7 +21,7 @@
   // 06 avr. 2002 18:36:32,036
   // 18 fevr. 2002 20:05:36,222
   public static 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\\d\\d \\d{2}:\\d{2}:\\d{2},\\d{3}";
 
   // 18:54:19,201
   public static final String ABSOLUTE_TIME_PAT =



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

Reply via email to