src/share/classes/java/text/CollationElementIterator.java

Print this page

        

@@ -117,11 +117,11 @@
      * CollationElementIterator constructor.  This takes the source string and
      * the collation object.  The cursor will walk thru the source string based
      * on the predefined collation rules.  If the source string is empty,
      * NULLORDER will be returned on the calls to next().
      * @param sourceText the source string.
-     * @param order the collation object.
+     * @param owner the collation object.
      */
     CollationElementIterator(String sourceText, RuleBasedCollator owner) {
         this.owner = owner;
         ordering = owner.getTables();
         if ( sourceText.length() != 0 ) {

@@ -135,11 +135,11 @@
      * CollationElementIterator constructor.  This takes the source string and
      * the collation object.  The cursor will walk thru the source string based
      * on the predefined collation rules.  If the source string is empty,
      * NULLORDER will be returned on the calls to next().
      * @param sourceText the source string.
-     * @param order the collation object.
+     * @param owner the collation object.
      */
     CollationElementIterator(CharacterIterator sourceText, RuleBasedCollator owner) {
         this.owner = owner;
         ordering = owner.getTables();
         NormalizerBase.Mode mode =