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/text/ChoiceFormat.java | 8 +++---- libjava/java/text/CollationElementIterator.java | 2 +- libjava/java/text/CollationKey.java | 8 +++---- libjava/java/text/Collator.java | 6 ++--- libjava/java/text/DateFormat.java | 6 ++--- libjava/java/text/DateFormatSymbols.java | 30 +++++++++++++------------ libjava/java/text/DecimalFormatSymbols.java | 6 ++--- libjava/java/text/Format.java | 2 +- libjava/java/text/ParsePosition.java | 6 ++--- libjava/java/text/RuleBasedCollator.java | 26 ++++++++++----------- libjava/java/text/SimpleDateFormat.java | 12 +++++----- libjava/java/text/StringCharacterIterator.java | 8 +++---- 12 files changed, 61 insertions(+), 59 deletions(-) (limited to 'libjava/java/text') diff --git a/libjava/java/text/ChoiceFormat.java b/libjava/java/text/ChoiceFormat.java index f7bdde1e294..f23bd128a5e 100644 --- a/libjava/java/text/ChoiceFormat.java +++ b/libjava/java/text/ChoiceFormat.java @@ -45,7 +45,7 @@ import java.util.Vector; * To use this class, first specify two lists of formats and range terminators. * These lists must be arrays of equal length. The format of index * i will be selected for value X if - * terminator[i] <= X < limit[i + 1]. If the value X is not + * terminator[i] <= X < limit[i + 1]. If the value X is not * included in any range, then either the first or last format will be * used depending on whether the value X falls outside the range. *

@@ -196,10 +196,10 @@ public class ChoiceFormat extends NumberFormat * This method tests this object for equality with the specified * object. This will be true if and only if: *

* * @param obj The object to test for equality against. diff --git a/libjava/java/text/CollationElementIterator.java b/libjava/java/text/CollationElementIterator.java index 691d943d21b..2377a09548b 100644 --- a/libjava/java/text/CollationElementIterator.java +++ b/libjava/java/text/CollationElementIterator.java @@ -129,7 +129,7 @@ public final class CollationElementIterator /** * This method resets the internal position pointer to read from the - * beginning of the String again. + * beginning of the String again. */ public void reset() { diff --git a/libjava/java/text/CollationKey.java b/libjava/java/text/CollationKey.java index 8859b320463..abc28b22ebb 100644 --- a/libjava/java/text/CollationKey.java +++ b/libjava/java/text/CollationKey.java @@ -140,12 +140,12 @@ public final class CollationKey implements Comparable * this object. This will be true if and only if: *

*

    - *
  • The specified object must not be null - *
  • The specified object is an instance of CollationKey. + *
  • The specified object must not be null
  • + *
  • The specified object is an instance of CollationKey.
  • *
  • The specified object was created from the same Collator - * as this object. + * as this object.
  • *
  • The specified object has the same source string and bit key as - * this object. + * this object.
  • *
* * @param obj The Object to test for equality. diff --git a/libjava/java/text/Collator.java b/libjava/java/text/Collator.java index bb5a3449139..907057eb0f9 100644 --- a/libjava/java/text/Collator.java +++ b/libjava/java/text/Collator.java @@ -183,10 +183,10 @@ public abstract class Collator implements Comparator, Cloneable * object. This will be true if and only if the following conditions are * met: *
    - *
  • The specified object is not null. - *
  • The specified object is an instance of Collator. + *
  • The specified object is not null.
  • + *
  • The specified object is an instance of Collator.
  • *
  • The specified object has the same strength and decomposition - * settings as this object. + * settings as this object.
  • *
* * @param obj The Object to test for equality against diff --git a/libjava/java/text/DateFormat.java b/libjava/java/text/DateFormat.java index 745a16b3ec2..0947b8058ad 100644 --- a/libjava/java/text/DateFormat.java +++ b/libjava/java/text/DateFormat.java @@ -196,9 +196,9 @@ public abstract class DateFormat extends Format implements Cloneable * object: *

*

    - *
  • Is not null. - *
  • Is an instance of DateFormat. - *
  • Has the same numberFormat field value as this object. + *
  • Is not null.
  • + *
  • Is an instance of DateFormat.
  • + *
  • Has the same numberFormat field value as this object.
  • *
* * @param obj The object to test for equality against. diff --git a/libjava/java/text/DateFormatSymbols.java b/libjava/java/text/DateFormatSymbols.java index 526f7120bcc..33a541bd1b7 100644 --- a/libjava/java/text/DateFormatSymbols.java +++ b/libjava/java/text/DateFormatSymbols.java @@ -245,11 +245,12 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable * the array contains five values: *

*

    - *
  • 0 - The non-localized time zone id string. - *
  • 1 - The long name of the time zone (standard time). - *
  • 2 - The short name of the time zone (standard time). - *
  • 3 - The long name of the time zone (daylight savings time). - *
  • 4 - the short name of the time zone (daylight savings time). + *
  • 0 - The non-localized time zone id string.
  • + *
  • 1 - The long name of the time zone (standard time).
  • + *
  • 2 - The short name of the time zone (standard time).
  • + *
  • 3 - The long name of the time zone (daylight savings time).
  • + *
  • 4 - the short name of the time zone (daylight savings time).
  • + *
* * @return The list of time zone display strings. */ @@ -386,11 +387,12 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable * the array contains five values: *

*

    - *
  • 0 - The non-localized time zone id string. - *
  • 1 - The long name of the time zone (standard time). - *
  • 2 - The short name of the time zone (standard time). - *
  • 3 - The long name of the time zone (daylight savings time). - *
  • 4 - the short name of the time zone (daylight savings time). + *
  • 0 - The non-localized time zone id string.
  • + *
  • 1 - The long name of the time zone (standard time).
  • + *
  • 2 - The short name of the time zone (standard time).
  • + *
  • 3 - The long name of the time zone (daylight savings time).
  • + *
  • 4 - the short name of the time zone (daylight savings time).
  • + *
* * @return The list of time zone display strings. */ @@ -438,15 +440,15 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable * This will be true if and only if the specified object: *

*

    - *
  • Is not null. - *
  • Is an instance of DateFormatSymbols. - *
  • Contains identical formatting symbols to this object. + *
  • Is not null.
  • + *
  • Is an instance of DateFormatSymbols.
  • + *
  • Contains identical formatting symbols to this object.
  • *
* * @param obj The Object to test for equality against. * * @return true if the specified object is equal to this one, - *
false otherwise. + * false otherwise. */ public boolean equals (Object obj) { diff --git a/libjava/java/text/DecimalFormatSymbols.java b/libjava/java/text/DecimalFormatSymbols.java index 268fe2cf987..35e75311eb0 100644 --- a/libjava/java/text/DecimalFormatSymbols.java +++ b/libjava/java/text/DecimalFormatSymbols.java @@ -167,9 +167,9 @@ public final class DecimalFormatSymbols implements Cloneable, Serializable * regard to the specified object: *

*

* * @return true if the specified object is equal to this diff --git a/libjava/java/text/Format.java b/libjava/java/text/Format.java index f64951bb94c..d3b7fccce01 100644 --- a/libjava/java/text/Format.java +++ b/libjava/java/text/Format.java @@ -123,7 +123,7 @@ public abstract class Format implements Serializable, Cloneable * This method parses a String and converts the parsed * contents into an Object. * - * @param str The String to parse. + * @param str The String to parse. * * @return The resulting Object. * diff --git a/libjava/java/text/ParsePosition.java b/libjava/java/text/ParsePosition.java index 83e92689fd5..c6dffed8f59 100644 --- a/libjava/java/text/ParsePosition.java +++ b/libjava/java/text/ParsePosition.java @@ -116,10 +116,10 @@ public class ParsePosition * all of the following conditions are met. *

*

    - *
  • The specified object is not null. - *
  • The specified object is an instance of ParsePosition. + *
  • The specified object is not null.
  • + *
  • The specified object is an instance of ParsePosition.
  • *
  • The specified object has the same index and error index as - * this object. + * this object.
  • *
* * @param obj The Object to test for equality against diff --git a/libjava/java/text/RuleBasedCollator.java b/libjava/java/text/RuleBasedCollator.java index 5b1dc0cfbed..1c1feab4e3c 100644 --- a/libjava/java/text/RuleBasedCollator.java +++ b/libjava/java/text/RuleBasedCollator.java @@ -56,9 +56,9 @@ import java.util.Vector; *

* Rules take the form of a String with the following syntax *

    - *
  • Modifier: '@' - *
  • Relation: '<' | ';' | ',' | '=' : - *
  • Reset: '&' : + *
  • Modifier: '@'
  • + *
  • Relation: '<' | ';' | ',' | '=' : <text>
  • + *
  • Reset: '&' : <text>
  • *
* The modifier character indicates that accents sort backward as is the * case with French. The modifier applies to all rules after @@ -69,12 +69,12 @@ import java.util.Vector; * the following meanings: *
    *
  • '<' - The text argument is greater than the prior term at the primary - * difference level. + * difference level.
  • *
  • ';' - The text argument is greater than the prior term at the secondary - * difference level. + * difference level.
  • *
  • ',' - The text argument is greater than the prior term at the tertiary - * difference level. - *
  • '=' - The text argument is equal to the prior term + * difference level.
  • + *
  • '=' - The text argument is equal to the prior term
  • *
*

* As for the text argument itself, this is any sequence of Unicode @@ -131,15 +131,15 @@ import java.util.Vector; * A ParseException will be thrown for any of the following * conditions: *

    - *
  • Unquoted punctuation characters in a text argument. - *
  • A relational or reset operator not followed by a text argument + *
  • Unquoted punctuation characters in a text argument.
  • + *
  • A relational or reset operator not followed by a text argument
  • *
  • A reset operator where the text argument is not present in - * the previous rule string section. + * the previous rule string section.
  • *
* - * @author Aaron M. Renn - * @author Tom Tromey - * @author Guilhem Lavaux + * @author Aaron M. Renn (arenn@urbanophile.com) + * @author Tom Tromey (tromey@cygnus.com) + * @author Guilhem Lavaux (guilhem@kaffe.org) */ public class RuleBasedCollator extends Collator { diff --git a/libjava/java/text/SimpleDateFormat.java b/libjava/java/text/SimpleDateFormat.java index 89f84dde5c6..69ce391db8d 100644 --- a/libjava/java/text/SimpleDateFormat.java +++ b/libjava/java/text/SimpleDateFormat.java @@ -358,13 +358,13 @@ public class SimpleDateFormat extends DateFormat * object. This will be true if and only if the specified object: *

*

    - *
  • Is not null. - *
  • Is an instance of SimpleDateFormat. + *
  • Is not null.
  • + *
  • Is an instance of SimpleDateFormat.
  • *
  • Is equal to this object at the superclass (i.e., DateFormat) - * level. - *
  • Has the same formatting pattern. - *
  • Is using the same formatting symbols. - *
  • Is using the same century for two digit years. + * level.
  • + *
  • Has the same formatting pattern.
  • + *
  • Is using the same formatting symbols.
  • + *
  • Is using the same century for two digit years.
  • *
* * @param obj The object to compare for equality against. diff --git a/libjava/java/text/StringCharacterIterator.java b/libjava/java/text/StringCharacterIterator.java index 7b7f46e7f59..44bac6b74a3 100644 --- a/libjava/java/text/StringCharacterIterator.java +++ b/libjava/java/text/StringCharacterIterator.java @@ -314,10 +314,10 @@ public final class StringCharacterIterator implements CharacterIterator * object. This will be true if and only if the specified object: *

*

    - *
  • is not null. - *
  • is an instance of StringCharacterIterator - *
  • has the same text as this object - *
  • has the same beginning, ending, and current index as this object. + *
  • is not null.
  • + *
  • is an instance of StringCharacterIterator
  • + *
  • has the same text as this object
  • + *
  • has the same beginning, ending, and current index as this object.
  • *
* * @param obj The object to test for equality against. -- cgit v1.2.3