summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2006-03-20 01:03:49 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2006-03-20 01:03:49 +0000
commitd0d52d2affe815851d6e7f83735c66ea889431be (patch)
tree81ecc60ce2592b2c0297ab407edc5fe6f829ae53
parent4f1902554ebf0c2f6bddcf099851be09eef346b0 (diff)
downloadclasspath-d0d52d2affe815851d6e7f83735c66ea889431be.tar.gz
2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Formatter.java: Make the class final.
-rw-r--r--ChangeLog5
-rw-r--r--java/util/Formatter.java3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a5ee63be5..f6176bd2b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
+ * java/util/Formatter.java:
+ Make the class final.
+
+2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
* java/lang/System.java:
(nanoTime()): Documented.
* java/lang/Thread.java:
diff --git a/java/util/Formatter.java b/java/util/Formatter.java
index 4249ca7da..f7dc27b8d 100644
--- a/java/util/Formatter.java
+++ b/java/util/Formatter.java
@@ -55,7 +55,8 @@ import java.text.DecimalFormatSymbols;
import gnu.classpath.SystemProperties;
/** @since 1.5 */
-public class Formatter implements Closeable, Flushable
+public final class Formatter
+ implements Closeable, Flushable
{
private Appendable out;
private Locale locale;