Dalibor Topic wrote:
Hi all,

small cleanup for gnu/java/text/FormatCharacterIterator.java.

2005-07-10  Dalibor Topic  <[EMAIL PROTECTED]>

        * gnu/java/text/FormatCharacterIterator.java:
        Removed unnecessary import of gnu.classpath.Configuration.
        (DEBUG) New private static field.
        (debug, dumpTable) Use DEBUG.


added the patch this time around.

cheers,
dalibor topic
? bin
Index: gnu/java/text/FormatCharacterIterator.java
===================================================================
RCS file: /cvsroot/classpath/classpath/gnu/java/text/FormatCharacterIterator.java,v
retrieving revision 1.3
diff -u -r1.3 FormatCharacterIterator.java
--- gnu/java/text/FormatCharacterIterator.java	2 Jul 2005 20:32:15 -0000	1.3
+++ gnu/java/text/FormatCharacterIterator.java	10 Jul 2005 15:08:31 -0000
@@ -37,8 +37,6 @@
 exception statement from your version. */
 package gnu.java.text;
 
-import gnu.classpath.Configuration;
-
 import java.text.AttributedCharacterIterator;
 import java.util.HashMap;
 import java.util.HashSet;
@@ -65,7 +63,8 @@
   private int attributeIndex;
   private int[] ranges;
   private HashMap[] attributes;
-  
+  private static final boolean DEBUG = false;
+
   /**
    * This constructor builds an empty iterated strings. The attributes
    * are empty and so is the string. However you may append strings
@@ -496,7 +495,7 @@
 
   private void debug(String s)
   {
-    if (Configuration.DEBUG)
+    if (DEBUG)
       System.out.println(s);
   }
 
@@ -504,7 +503,7 @@
   {
     int start_range = 0;
     
-    if (!Configuration.DEBUG)
+    if (!DEBUG)
       return;
 
     System.out.println("Dumping internal table:");
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to