From ce97e13dedadf5635b96807626bc2d005b9022bc Mon Sep 17 00:00:00 2001 From: mkoch Date: Tue, 20 Apr 2004 14:45:10 +0000 Subject: 2004-04-20 Michael Koch * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80906 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/java/util/Collections.java | 2 +- libjava/java/util/PropertyResourceBundle.java | 2 +- libjava/java/util/ResourceBundle.java | 25 ++++++++++++++++--------- libjava/java/util/StringTokenizer.java | 4 ++-- libjava/java/util/jar/Attributes.java | 27 ++++++++++++++------------- libjava/java/util/logging/ConsoleHandler.java | 2 +- libjava/java/util/logging/LogManager.java | 10 ++++------ libjava/java/util/logging/MemoryHandler.java | 11 +---------- libjava/java/util/logging/SocketHandler.java | 2 +- 9 files changed, 41 insertions(+), 44 deletions(-) (limited to 'libjava/java/util') diff --git a/libjava/java/util/Collections.java b/libjava/java/util/Collections.java index 815afccc807..7e5ac6ec2c1 100644 --- a/libjava/java/util/Collections.java +++ b/libjava/java/util/Collections.java @@ -54,7 +54,7 @@ import java.io.Serializable; * are not required, to throw the {@link UnsupportedOperationException} that * the underlying collection would throw during an attempt at modification. * For example, - * Collections.singleton("").addAll(Collections.EMPTY_SET) + * Collections.singleton("").addAll(Collections.EMPTY_SET) * does not throw a exception, even though addAll is an unsupported operation * on a singleton; the reason for this is that addAll did not attempt to * modify the set. diff --git a/libjava/java/util/PropertyResourceBundle.java b/libjava/java/util/PropertyResourceBundle.java index d873e134e62..9d556f2e4b6 100644 --- a/libjava/java/util/PropertyResourceBundle.java +++ b/libjava/java/util/PropertyResourceBundle.java @@ -54,7 +54,7 @@ import java.io.InputStream; * * If there is also a class for this resource and the same locale, the * class will be chosen. The properties file should have the name of the - * resource bundle, appended with the locale (e.g. _de_de and the * extension .properties. The file should have the same format * as for Properties.load() * diff --git a/libjava/java/util/ResourceBundle.java b/libjava/java/util/ResourceBundle.java index 7a4a282e773..6663bd4533e 100644 --- a/libjava/java/util/ResourceBundle.java +++ b/libjava/java/util/ResourceBundle.java @@ -51,7 +51,7 @@ import gnu.classpath.Configuration; * getObject or getString on that bundle. * *

When a bundle is demanded for a specific locale, the ResourceBundle - * is searched in following order (def. language stands for the + * is searched in following order (def. language stands for the * two letter ISO language code of the default locale (see * Locale.getDefault()). * @@ -251,18 +251,22 @@ public abstract class ResourceBundle * *

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: