From: Markus Scherer Date: Thu, 8 Sep 2011 19:28:32 +0000 (+0000) Subject: ICU-8805 fix some MessagePattern API comments X-Git-Tag: milestone-59-0-1~4541 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f56fddafbd290134d42d4853c4e3d0debf2a3ec;p=icu ICU-8805 fix some MessagePattern API comments X-SVN-Rev: 30637 --- diff --git a/icu4c/source/common/unicode/messagepattern.h b/icu4c/source/common/unicode/messagepattern.h index 961685246d6..dfbd8ba20ba 100644 --- a/icu4c/source/common/unicode/messagepattern.h +++ b/icu4c/source/common/unicode/messagepattern.h @@ -143,6 +143,10 @@ enum UMessagePatternPartType { * Start of an argument. * The length is 1 for the '{'. * The value is the ordinal value of the ArgType. Use getArgType(). + *

+ * This part is followed by either an ARG_NUMBER or ARG_NAME, + * followed by optional argument sub-parts (see UMessagePatternArgType constants) + * and finally an ARG_LIMIT part. * @draft ICU 4.8 */ UMSGPAT_PART_TYPE_ARG_START, @@ -150,10 +154,6 @@ enum UMessagePatternPartType { * End of an argument. * The length is 1 for the '}'. * The value is the ordinal value of the ArgType. Use getArgType(). - *

- * This part is followed by either an ARG_NUMBER or ARG_NAME, - * followed by optional argument sub-parts (see UMessagePatternArgType constants) - * and finally an ARG_LIMIT part. * @draft ICU 4.8 */ UMSGPAT_PART_TYPE_ARG_LIMIT, @@ -724,7 +724,7 @@ public: /** * Returns the length of the pattern substring associated with this Part. * This is 0 for some parts. - * @return this part's pattern string index. + * @return this part's pattern substring length. * @draft ICU 4.8 */ int32_t getLength() const {