diff options
author | Michael Koch <konqueror@gmx.de> | 2004-04-20 14:45:10 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-04-20 14:45:10 +0000 |
commit | a17c9f2ea1ecec71169eff40c591ca3bf8307a32 (patch) | |
tree | 2f1b4325d5c68c60284c5788c751fe9dfe6a3579 /libjava/java/util/ResourceBundle.java | |
parent | 386d3a1616016db1b84351554de4aa643fe0d92a (diff) | |
download | gcc-a17c9f2ea1ecec71169eff40c591ca3bf8307a32.zip gcc-a17c9f2ea1ecec71169eff40c591ca3bf8307a32.tar.gz gcc-a17c9f2ea1ecec71169eff40c591ca3bf8307a32.tar.bz2 |
MarshalledObject.java, [...]: Fixed javadoc, coding style and argument names all over.
2004-04-20 Michael Koch <konqueror@gmx.de>
* java/rmi/MarshalledObject.java,
java/rmi/Naming.java,
java/rmi/RemoteException.java,
java/rmi/activation/ActivationException.java,
java/rmi/server/ServerCloneException.java,
java/security/AccessController.java,
java/security/AlgorithmParameterGenerator.java,
java/security/AlgorithmParameters.java,
java/security/CodeSource.java,
java/security/Identity.java,
java/security/IdentityScope.java,
java/security/KeyPairGenerator.java,
java/security/KeyStore.java,
java/security/Security.java,
java/security/Signature.java,
java/security/SignatureSpi.java,
java/security/SignedObject.java,
java/security/spec/DSAParameterSpec.java,
java/security/spec/DSAPrivateKeySpec.java,
java/security/spec/DSAPublicKeySpec.java,
java/sql/Array.java,
java/sql/DatabaseMetaData.java,
java/sql/ResultSet.java,
java/text/ChoiceFormat.java,
java/text/CollationElementIterator.java,
java/text/CollationKey.java,
java/text/Collator.java,
java/text/DateFormat.java,
java/text/DateFormatSymbols.java,
java/text/DecimalFormatSymbols.java,
java/text/Format.java,
java/text/ParsePosition.java,
java/text/RuleBasedCollator.java,
java/text/SimpleDateFormat.java,
java/text/StringCharacterIterator.java,
java/util/Collections.java,
java/util/PropertyResourceBundle.java,
java/util/ResourceBundle.java,
java/util/StringTokenizer.java,
java/util/jar/Attributes.java,
java/util/logging/ConsoleHandler.java,
java/util/logging/LogManager.java,
java/util/logging/MemoryHandler.java,
java/util/logging/SocketHandler.java,
javax/naming/NamingException.java:
Fixed javadoc, coding style and argument names all over.
From-SVN: r80906
Diffstat (limited to 'libjava/java/util/ResourceBundle.java')
-rw-r--r-- | libjava/java/util/ResourceBundle.java | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/libjava/java/util/ResourceBundle.java b/libjava/java/util/ResourceBundle.java index 7a4a282..6663bd4 100644 --- a/libjava/java/util/ResourceBundle.java +++ b/libjava/java/util/ResourceBundle.java @@ -51,7 +51,7 @@ import gnu.classpath.Configuration; * <code>getObject</code> or <code>getString</code> on that bundle. * * <p>When a bundle is demanded for a specific locale, the ResourceBundle - * is searched in following order (<i>def. language<i> stands for the + * is searched in following order (<i>def. language</i> stands for the * two letter ISO language code of the default locale (see * <code>Locale.getDefault()</code>). * @@ -251,18 +251,22 @@ public abstract class ResourceBundle * * <p>A sequence of candidate bundle names are generated, and tested in * this order, where the suffix 1 means the string from the specified - * locale, and the suffix 2 means the string from the default locale:<ul> + * locale, and the suffix 2 means the string from the default locale:</p> + * + * <ul> * <li>baseName + "_" + language1 + "_" + country1 + "_" + variant1</li> * <li>baseName + "_" + language1 + "_" + country1</li> * <li>baseName + "_" + language1</li> * <li>baseName + "_" + language2 + "_" + country2 + "_" + variant2</li> * <li>baseName + "_" + language2 + "_" + country2</li> - * <li>baseName + "_" + language2<li> + * <li>baseName + "_" + language2</li> * <li>baseName</li> * </ul> * * <p>In the sequence, entries with an empty string are ignored. Next, - * <code>getBundle</code> tries to instantiate the resource bundle:<ul> + * <code>getBundle</code> tries to instantiate the resource bundle:</p> + * + * <ul> * <li>First, an attempt is made to load a class in the specified classloader * which is a subclass of ResourceBundle, and which has a public constructor * with no arguments, via reflection.</li> @@ -277,7 +281,7 @@ public abstract class ResourceBundle * in the above sequence are tested in a similar manner, and if any results * in a resource bundle, it is assigned as the parent of the first bundle * using the <code>setParent</code> method (unless the first bundle already - * has a parent). + * has a parent).</p> * * <p>For example, suppose the following class and property files are * provided: MyResources.class, MyResources_fr_CH.properties, @@ -286,10 +290,12 @@ public abstract class ResourceBundle * all files are valid (that is, public non-abstract subclasses of * ResourceBundle with public nullary constructors for the ".class" files, * syntactically correct ".properties" files). The default locale is - * Locale("en", "UK"). + * Locale("en", "UK").</p> * * <p>Calling getBundle with the shown locale argument values instantiates - * resource bundles from the following sources:<ul> + * resource bundles from the following sources:</p> + * + * <ul> * <li>Locale("fr", "CH"): result MyResources_fr_CH.class, parent * MyResources_fr.properties, parent MyResources.class</li> * <li>Locale("fr", "FR"): result MyResources_fr.properties, parent @@ -301,8 +307,9 @@ public abstract class ResourceBundle * <li>Locale("es", "ES"): result MyResources_es_ES.class, parent * MyResources.class</li> * </ul> - * The file MyResources_fr_CH.properties is never used because it is hidden - * by MyResources_fr_CH.class. + * + * <p>The file MyResources_fr_CH.properties is never used because it is hidden + * by MyResources_fr_CH.class.</p> * * @param baseName the name of the ResourceBundle * @param locale A locale |