You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ce...@apache.org on 2004/12/26 15:05:35 UTC
cvs commit: logging-log4j/src/java/org/apache/log4j/helpers RelativeTimeDateFormat.java
ceki 2004/12/26 06:05:35
Modified: src/java/org/apache/log4j/helpers
RelativeTimeDateFormat.java
Log:
Removed unused getNumberFormat method. It precents compilation under earlier JDKs such JDK 1.3
Revision Changes Path
1.5 +0 -10 logging-log4j/src/java/org/apache/log4j/helpers/RelativeTimeDateFormat.java
Index: RelativeTimeDateFormat.java
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/helpers/RelativeTimeDateFormat.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- RelativeTimeDateFormat.java 21 Dec 2004 04:19:47 -0000 1.4
+++ RelativeTimeDateFormat.java 26 Dec 2004 14:05:35 -0000 1.5
@@ -21,7 +21,6 @@
import java.text.FieldPosition;
import java.text.ParsePosition;
import java.text.DateFormat;
-import java.text.NumberFormat;
/**
Formats a {@link Date} by printing the number of milliseconds
@@ -61,15 +60,6 @@
Date parse(java.lang.String s, ParsePosition pos) {
return null;
}
-
-
- /**
- * Gets the number format.
- * @return NumberFormat number format
- */
- public NumberFormat getNumberFormat() {
- return NumberFormat.getIntegerInstance();
- }
/**
* Sets the timezone.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org