Default is meant to be for the trimmer to be a NoMatcher.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@138009 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2004-12-25 21:02:20 +00:00
parent 3155f2ce74
commit 60666b2ae2
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ import java.util.ListIterator;
* @author Stephen Colebourne * @author Stephen Colebourne
* @author Gary D. Gregory * @author Gary D. Gregory
* @since 2.1 * @since 2.1
* @version $Id: StrTokenizer.java,v 1.5 2004/12/25 20:42:48 bayard Exp $ * @version $Id: StrTokenizer.java,v 1.6 2004/12/25 21:02:20 bayard Exp $
*/ */
public class StrTokenizer implements ListIterator, Cloneable { public class StrTokenizer implements ListIterator, Cloneable {
@ -155,7 +155,7 @@ public class StrTokenizer implements ListIterator, Cloneable {
/** The ignored matcher */ /** The ignored matcher */
private Matcher ignored = NONE_MATCHER; private Matcher ignored = NONE_MATCHER;
/** The trimmer matcher */ /** The trimmer matcher */
private Matcher trimmer = TRIM_MATCHER; private Matcher trimmer = NONE_MATCHER;
/** Whether to return empty tokens as null */ /** Whether to return empty tokens as null */
private boolean emptyAsNull = false; private boolean emptyAsNull = false;