classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch: FYI: fixlet in AbstractWriter


From: Tom Tromey
Subject: [cp-patches] Patch: FYI: fixlet in AbstractWriter
Date: 21 Aug 2005 10:43:30 -0600

I'm checking this in.

Japi pointed out that AbstractWriter.NEWLINE must be final.

Tom

Index: ChangeLog
from  Tom Tromey  <address@hidden>

        * javax/swing/text/AbstractWriter.java (NEWLINE): Now 'final'.

Index: javax/swing/text/AbstractWriter.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/AbstractWriter.java,v
retrieving revision 1.1
diff -u -r1.1 AbstractWriter.java
--- javax/swing/text/AbstractWriter.java 19 Aug 2005 21:46:23 -0000 1.1
+++ javax/swing/text/AbstractWriter.java 21 Aug 2005 16:46:41 -0000
@@ -53,7 +53,7 @@
    * The default line separator character.
    * @specnote although this is a constant, it is not static in the JDK
    */
-  protected static char NEWLINE = '\n';
+  protected static final char NEWLINE = '\n';
 
   // Where we write.
   private Writer writer;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]