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
This commit is contained in:
parent
dc8a02024d
commit
b36b070c79
3 changed files with 9 additions and 4 deletions
|
@ -1,5 +1,10 @@
|
||||||
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>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* 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
|
||||||
* @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++)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* 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
|
||||||
* @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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue