Author: carnold
Date: Thu Aug 23 09:20:57 2007
New Revision: 569061
URL: http://svn.apache.org/viewvc?rev=569061&view=rev
Log:
Remove references to o.a.l.helpers.Constants
Modified:
logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rule/TimestampEqualsRule.java
logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rule/TimestampInequalityRule.java
Modified:
logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rule/TimestampEqualsRule.java
URL:
http://svn.apache.org/viewvc/logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rule/TimestampEqualsRule.java?rev=569061&r1=569060&r2=569061&view=diff
==============================================================================
---
logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rule/TimestampEqualsRule.java
(original)
+++
logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rule/TimestampEqualsRule.java
Thu Aug 23 09:20:57 2007
@@ -22,7 +22,6 @@
import java.text.ParseException;
import java.text.SimpleDateFormat;
-import org.apache.log4j.helpers.Constants;
import org.apache.log4j.spi.LoggingEvent;
import org.apache.log4j.spi.LoggingEventFieldResolver;
@@ -45,7 +44,7 @@
* Date format.
*/
private static final DateFormat DATE_FORMAT =
- new SimpleDateFormat(Constants.TIMESTAMP_RULE_FORMAT);
+ new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
/**
* time stamp.
Modified:
logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rule/TimestampInequalityRule.java
URL:
http://svn.apache.org/viewvc/logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rule/TimestampInequalityRule.java?rev=569061&r1=569060&r2=569061&view=diff
==============================================================================
---
logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rule/TimestampInequalityRule.java
(original)
+++
logging/log4j/companions/extras/trunk/src/main/java/org/apache/log4j/rule/TimestampInequalityRule.java
Thu Aug 23 09:20:57 2007
@@ -22,7 +22,6 @@
import java.text.ParseException;
import java.text.SimpleDateFormat;
-import org.apache.log4j.helpers.Constants;
import org.apache.log4j.spi.LoggingEvent;
import org.apache.log4j.spi.LoggingEventFieldResolver;
@@ -45,7 +44,7 @@
* Date format.
*/
private static final DateFormat DATE_FORMAT =
- new SimpleDateFormat(Constants.TIMESTAMP_RULE_FORMAT);
+ new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
/**
* Inequality symbol.
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]