PropertyResourceBundle.java (handleGetObject): Now public.
authorTom Tromey <tromey@redhat.com>
Wed, 24 Oct 2001 00:01:15 +0000 (00:01 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 24 Oct 2001 00:01:15 +0000 (00:01 +0000)
* java/util/PropertyResourceBundle.java (handleGetObject): Now
public.
* java/util/ListResourceBundle.java (handleGetObject): Now public
and final, per spec.

From-SVN: r46452

libjava/ChangeLog
libjava/java/util/ListResourceBundle.java
libjava/java/util/PropertyResourceBundle.java

index ba19fca58e6e8675e775ec3e5d208dcf8927ecbb..8da7f7f5db5f0357b2cc04b50f1ae5b630b6a7fc 100644 (file)
@@ -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>
index 96572ffcf7813ed28110fbdda6c9d4e4363db38a..d4fe31cd764083a671c0258d84252bcf279c5238 100644 (file)
@@ -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++)
index 3a5629c0a448702a4c9125e5a961862143c2e3f0..59815eb0dd08e03b58455770fb23a6b79f6ab13e 100644 (file)
@@ -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);
   }