OSDN Git Service

* java/text/Collator.java (decomposeCharacter, decmp, strength):
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Dec 2000 21:14:14 +0000 (21:14 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Dec 2000 21:14:14 +0000 (21:14 +0000)
Now package-private, not protected.
* java/text/DateFormatSymbols.java (equals): Now private.
* java/text/DecimalFormatSymbols.java (safeGetChar): Now private.
* java/util/BitSet.java: Class no longer final.
* java/util/Set.java (toArray(Object[])): New method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38075 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/text/Collator.java
libjava/java/text/DateFormatSymbols.java
libjava/java/text/DecimalFormatSymbols.java
libjava/java/util/BitSet.java
libjava/java/util/Set.java

index c865785..f870e1c 100644 (file)
@@ -1,3 +1,12 @@
+2000-12-05  Tom Tromey  <tromey@redhat.com>
+
+       * java/text/Collator.java (decomposeCharacter, decmp, strength):
+       Now package-private, not protected.
+       * java/text/DateFormatSymbols.java (equals): Now private.
+       * java/text/DecimalFormatSymbols.java (safeGetChar): Now private.
+       * java/util/BitSet.java: Class no longer final.
+       * java/util/Set.java (toArray(Object[])): New method.
+
 2000-12-04  Warren Levy  <warrenl@redhat.com>
 
        * java/util/TimeZone.java (getAvailableIDs): Activated commented
index 60da531..9a356c1 100644 (file)
@@ -132,9 +132,9 @@ public abstract class Collator implements Comparator, Cloneable
   }
 
   // Decompose a single character and append results to the buffer.
-  protected native final void decomposeCharacter (char c, StringBuffer buf);
+  native final void decomposeCharacter (char c, StringBuffer buf);
 
   // These names are fixed by the serialization spec.
-  protected int decmp;
-  protected int strength;
+  int decmp;
+  int strength;
 }
index 9e8bc0c..efe1d89 100644 (file)
@@ -265,7 +265,7 @@ public class DateFormatSymbols extends Object
   }
 
   /* Does a "deep" equality test - recurses into arrays. */
-  protected static boolean equals (Object x, Object y)
+  private static boolean equals (Object x, Object y)
   {
     if (x == y)
       return true;
index d8b58b5..0f404a5 100644 (file)
@@ -72,8 +72,8 @@ public final class DecimalFormatSymbols implements Cloneable, Serializable
       return def;
     }
 
-  public final char safeGetChar (ResourceBundle bundle,
-                                String name, char def)
+  private final char safeGetChar (ResourceBundle bundle,
+                                 String name, char def)
     {
       String r = null;
       if (bundle != null)
index fa0f3a1..41dfbae 100644 (file)
@@ -45,7 +45,7 @@ import java.io.Serializable;
  * @date October 23, 1998.
  * @status API complete to JDK 1.3.
  */
-public final class BitSet implements Cloneable, Serializable
+public class BitSet implements Cloneable, Serializable
 {
   /**
    * Create a new empty bit set.
index f1f836a..4eac120 100644 (file)
@@ -1,5 +1,5 @@
 /* Set.java -- A collection that prohibits duplicates
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.