]> granicus.if.org Git - icu/commitdiff
ICU-8805 fix some MessagePattern API comments
authorMarkus Scherer <markus.icu@gmail.com>
Thu, 8 Sep 2011 19:28:32 +0000 (19:28 +0000)
committerMarkus Scherer <markus.icu@gmail.com>
Thu, 8 Sep 2011 19:28:32 +0000 (19:28 +0000)
X-SVN-Rev: 30637

icu4c/source/common/unicode/messagepattern.h

index 961685246d6bef24d333a69f3cc82088d16d21b5..dfbd8ba20ba8694a81c7b8f9fa362a8b446e5676 100644 (file)
@@ -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().
+     * <p>
+     * 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().
-     * <p>
-     * 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 {