From: Tom Tromey Date: Wed, 24 Oct 2001 00:01:15 +0000 (+0000) Subject: PropertyResourceBundle.java (handleGetObject): Now public. X-Git-Tag: prereleases/libstdc++-3.0.95~1446 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b36b070c7908e5cbfdb4835c45d7668b0d17dba3;p=thirdparty%2Fgcc.git 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 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index ba19fca58e6e..8da7f7f5db5f 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,10 @@ 2001-10-23 Tom Tromey + * 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 diff --git a/libjava/java/util/ListResourceBundle.java b/libjava/java/util/ListResourceBundle.java index 96572ffcf781..d4fe31cd7640 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 3a5629c0a448..59815eb0dd08 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); }