Commit 456ffe4c by Tom Tromey Committed by Tom Tromey

Collator.java (decomposeCharacter, [...]): Now package-private, not protected.

	* 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.

From-SVN: r38075
parent f0bffd99
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
......
......@@ -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;
}
......@@ -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;
......
......@@ -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)
......
......@@ -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.
......
/* 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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment