diff --git a/src/java/org/apache/commons/lang/text/StrTokenizer.java b/src/java/org/apache/commons/lang/text/StrTokenizer.java index b0b05c945..45f312134 100644 --- a/src/java/org/apache/commons/lang/text/StrTokenizer.java +++ b/src/java/org/apache/commons/lang/text/StrTokenizer.java @@ -990,6 +990,18 @@ public void setIgnoredMatcher(Matcher ignored) { } } + /** + * Set the character to ignore. + *

+ * This character is ignored when parsing the String, unless it is + * within a quoted region. + * + * @param ignored the ignored character to use + */ + public void setIgnoredChar(char ignored) { + setIgnoredMatcher(new CharMatcher(ignored)); + } + // Trimmer //----------------------------------------------------------------------- /** @@ -1016,18 +1028,6 @@ public void setTrimmerMatcher(Matcher trimmer) { } } - /** - * Set the character to ignore. - *

- * This character is ignored when parsing the String, unless it is - * within a quoted region. - * - * @param ignored the ignored character to use - */ - public void setIgnoredChar(char ignored) { - setIgnoredMatcher(new CharMatcher(ignored)); - } - //----------------------------------------------------------------------- /** * Gets whether the tokenizer currently returns empty tokens as null.