scolebourne 2003/07/21 17:09:15
Modified: lang/src/java/org/apache/commons/lang/time
FastDateFormat.java
Log:
Increase explanation comment, requested by Gary Gregory
Revision Changes Path
1.11 +8 -1
jakarta-commons/lang/src/java/org/apache/commons/lang/time/FastDateFormat.java
Index: FastDateFormat.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/time/FastDateFormat.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- FastDateFormat.java 20 Jul 2003 01:21:29 -0000 1.10
+++ FastDateFormat.java 22 Jul 2003 00:09:14 -0000 1.11
@@ -72,6 +72,13 @@
/**
* <p>FastDateFormat is a fast and thread-safe version of
* [EMAIL PROTECTED] java.text.SimpleDateFormat}.</p>
+ *
+ * <p>This class can be used as a direct replacement to
+ * <code>SimpleDateFormat</code> in most formatting situations.
+ * This class is especially useful in multi-threaded server environments.
+ * <code>SimpleDateFormat</code> is not thread-safe in any JDK version,
+ * nor will it be as Sun have closed the bug/RFE.
+ * </p>
*
* <p>Only formatting is supported, but all patterns are compatible with
* SimpleDateFormat (except timezones - see below).</p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]