Move ignore method to correct place in file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@209537 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9d25ee76f8
commit
e2ef9f095a
|
@ -990,6 +990,18 @@ public class StrTokenizer implements ListIterator, Cloneable {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the character to ignore.
|
||||
* <p>
|
||||
* 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 class StrTokenizer implements ListIterator, Cloneable {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the character to ignore.
|
||||
* <p>
|
||||
* 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.
|
||||
|
|
Loading…
Reference in New Issue