diff --git a/icu4c/source/common/unicode/unorm.h b/icu4c/source/common/unicode/unorm.h index c04bfa138bf..cbc78a088e9 100644 --- a/icu4c/source/common/unicode/unorm.h +++ b/icu4c/source/common/unicode/unorm.h @@ -219,7 +219,7 @@ typedef enum UNormalizationCheckResult { * * @param source string for determining if it is in a normalized format * @param sourcelength length of source to test, or -1 if NUL-terminated - * @paran mode which normalization form to test for + * @param mode which normalization form to test for * @param status a pointer to a UErrorCode to receive any errors * @return UNORM_YES, UNORM_NO or UNORM_MAYBE * @@ -237,7 +237,7 @@ unorm_quickCheck(const UChar *source, int32_t sourcelength, * * @param src String that is to be tested if it is in a normalization format. * @param srcLength Length of source to test, or -1 if NUL-terminated. - * @paran mode Which normalization form to test for. + * @param mode Which normalization form to test for. * @param options The normalization options, ORed together (0 for no options). * @param pErrorCode ICU error code in/out parameter. * Must fulfill U_SUCCESS before the function call. @@ -264,7 +264,7 @@ unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength, * * @param src String that is to be tested if it is in a normalization format. * @param srcLength Length of source to test, or -1 if NUL-terminated. - * @paran mode Which normalization form to test for. + * @param mode Which normalization form to test for. * @param pErrorCode ICU error code in/out parameter. * Must fulfill U_SUCCESS before the function call. * @return Boolean value indicating whether the source string is in the @@ -284,7 +284,7 @@ unorm_isNormalized(const UChar *src, int32_t srcLength, * * @param src String that is to be tested if it is in a normalization format. * @param srcLength Length of source to test, or -1 if NUL-terminated. - * @paran mode Which normalization form to test for. + * @param mode Which normalization form to test for. * @param options The normalization options, ORed together (0 for no options). * @param pErrorCode ICU error code in/out parameter. * Must fulfill U_SUCCESS before the function call. diff --git a/icu4c/source/i18n/unicode/fmtable.h b/icu4c/source/i18n/unicode/fmtable.h index 3f25d7bc1ee..c81bb578a3c 100644 --- a/icu4c/source/i18n/unicode/fmtable.h +++ b/icu4c/source/i18n/unicode/fmtable.h @@ -52,76 +52,77 @@ public: * or struct, then we no longer need this enum. * @draft ICU 2.4 */ - enum ISDATE { kIsDate }; + enum ISDATE { kIsDate }; /** * Default constructor * @draft ICU 2.4 */ - Formattable(); // Type kLong, value 0 + Formattable(); // Type kLong, value 0 /** * Creates a Formattable object with a UDate instance. * @param d the UDate instance. * @param ISDATE the flag to indicate this is a date. * @stable ICU 2.0 */ - Formattable(UDate d, ISDATE); + Formattable(UDate d, ISDATE); /** * Creates a Formattable object with a double number. * @param d the double number. * @stable ICU 2.0 */ - Formattable(double d); + Formattable(double d); /** * Creates a Formattable object with a long number. - * @param d the long number. + * @param l the long number. * @stable ICU 2.0 */ - Formattable(int32_t l); + Formattable(int32_t l); /** * Creates a Formattable object with a char string pointer. * Assumes that the char string is null terminated. * @param strToCopy the char string. * @stable ICU 2.0 */ - Formattable(const char* strToCopy); + Formattable(const char* strToCopy); /** * Creates a Formattable object with a UnicodeString object to copy from. * @param strToCopy the UnicodeString string. * @stable ICU 2.0 */ - Formattable(const UnicodeString& stringToCopy); + Formattable(const UnicodeString& strToCopy); /** * Creates a Formattable object with a UnicodeString object to adopt from. * @param strToAdopt the UnicodeString string. * @stable ICU 2.0 */ - Formattable(UnicodeString* stringToAdopt); + Formattable(UnicodeString* strToAdopt); /** * Creates a Formattable object with an array of Formattable objects. * @param arrayToCopy the Formattable object array. * @param count the array count. * @stable ICU 2.0 */ - Formattable(const Formattable* arrayToCopy, int32_t count); + Formattable(const Formattable* arrayToCopy, int32_t count); /** * Copy constructor. * @stable ICU 2.0 */ - Formattable(const Formattable&); + Formattable(const Formattable&); /** * Assignment operator. + * @param rhs The Formattable object to copy into this object. * @stable ICU 2.0 */ - Formattable& operator=(const Formattable&); + Formattable& operator=(const Formattable &rhs); /** * Equality comparison. * @param other the object to be compared with. * @return TRUE if other are equal to this, FALSE otherwise. * @stable ICU 2.0 */ - UBool operator==(const Formattable&) const; + UBool operator==(const Formattable &other) const; /** * Equality operator.