diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-24 00:01:15 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-24 00:01:15 +0000 |
| commit | e1cf32ba95180ee46069aed12a518b172580140e (patch) | |
| tree | ef014ca130fdccc56ceb3ee9741ddfa767fcb18b /libjava | |
| parent | 0381225714bb36b5e7b998ca0949a054b562e129 (diff) | |
| download | ppe42-gcc-e1cf32ba95180ee46069aed12a518b172580140e.tar.gz ppe42-gcc-e1cf32ba95180ee46069aed12a518b172580140e.zip | |
* java/util/PropertyResourceBundle.java (handleGetObject): Now
public.
* java/util/ListResourceBundle.java (handleGetObject): Now public
and final, per spec.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46452 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
| -rw-r--r-- | libjava/ChangeLog | 5 | ||||
| -rw-r--r-- | libjava/java/util/ListResourceBundle.java | 4 | ||||
| -rw-r--r-- | libjava/java/util/PropertyResourceBundle.java | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index ba19fca58e6..8da7f7f5db5 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,10 @@ 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. 2001-10-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz> diff --git a/libjava/java/util/ListResourceBundle.java b/libjava/java/util/ListResourceBundle.java index 96572ffcf78..d4fe31cd764 100644 --- a/libjava/java/util/ListResourceBundle.java +++ b/libjava/java/util/ListResourceBundle.java @@ -1,5 +1,5 @@ /* 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. @@ -65,7 +65,7 @@ public abstract class ListResourceBundle extends ResourceBundle * @param key The key of the resource. * @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(); for (int i = 0; i < contents.length; i++) diff --git a/libjava/java/util/PropertyResourceBundle.java b/libjava/java/util/PropertyResourceBundle.java index 3a5629c0a44..59815eb0dd0 100644 --- a/libjava/java/util/PropertyResourceBundle.java +++ b/libjava/java/util/PropertyResourceBundle.java @@ -1,5 +1,5 @@ /* 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. @@ -111,7 +111,7 @@ public class PropertyResourceBundle extends ResourceBundle * @param key The key of the resource. * @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); } |

