Commit b36b070c by Tom Tromey Committed by Tom Tromey

PropertyResourceBundle.java (handleGetObject): Now public.

	* java/util/PropertyResourceBundle.java (handleGetObject): Now
	public.
	* java/util/ListResourceBundle.java (handleGetObject): Now public
	and final, per spec.

From-SVN: r46452
parent dc8a0202
2001-10-23 Tom Tromey <tromey@redhat.com> 2001-10-23 Tom Tromey <tromey@redhat.com>
* java/util/PropertyResourceBundle.java (handleGetObject): Now
public.
* java/util/ListResourceBundle.java (handleGetObject): Now public
and final, per spec.
* java/io/BufferedWriter.java (localFlush): Don't synchronize. * java/io/BufferedWriter.java (localFlush): Don't synchronize.
2001-10-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz> 2001-10-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
......
/* java.util.ListResourceBundle /* java.util.ListResourceBundle
Copyright (C) 1998, 1999 Free Software Foundation, Inc. Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -65,7 +65,7 @@ public abstract class ListResourceBundle extends ResourceBundle ...@@ -65,7 +65,7 @@ public abstract class ListResourceBundle extends ResourceBundle
* @param key The key of the resource. * @param key The key of the resource.
* @return The resource for the key or null if it doesn't exists. * @return The resource for the key or null if it doesn't exists.
*/ */
protected Object handleGetObject(String key) public final Object handleGetObject(String key)
{ {
Object[][] contents = getContents(); Object[][] contents = getContents();
for (int i = 0; i < contents.length; i++) for (int i = 0; i < contents.length; i++)
......
/* java.util.PropertyResourceBundle /* java.util.PropertyResourceBundle
Copyright (C) 1998, 1999 Free Software Foundation, Inc. Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
This file is part of GNU Classpath. This file is part of GNU Classpath.
...@@ -111,7 +111,7 @@ public class PropertyResourceBundle extends ResourceBundle ...@@ -111,7 +111,7 @@ public class PropertyResourceBundle extends ResourceBundle
* @param key The key of the resource. * @param key The key of the resource.
* @return The resource for the key or null if it doesn't exists. * @return The resource for the key or null if it doesn't exists.
*/ */
protected Object handleGetObject(String key) public Object handleGetObject(String key)
{ {
return properties.getProperty(key); return properties.getProperty(key);
} }
......
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