+2004-11-24 Michael Koch <konqueror@gmx.de>
+
+ * java/util/ResourceBundle.java: Reformatted.
+ (tryBundle): Fixed javadoc.
+
2004-11-24 Jeroen Frijters <jeroen@frijters.net>
* java/text/MessageFormat.java
/* ResourceBundle -- aids in loading resource bundles
- Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004
+ Free Software Foundation, Inc.
This file is part of GNU Classpath.
catch (CloneNotSupportedException x) {}
return clone;
- }
+ }
}
/** A cache lookup key. This avoids having to a new one for every
Object obj = bundleCache.get(lookupKey);
ResourceBundle rb = null;
+
if (obj instanceof ResourceBundle)
{
return (ResourceBundle) obj;
* Tries to load a the bundle for a given locale, also loads the backup
* locales with the same language.
*
- * @param name the name
+ * @param baseName the raw bundle name, without locale qualifiers
* @param locale the locale
* @param classloader the classloader
* @param bundle the backup (parent) bundle