You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2005/07/07 01:11:51 UTC
svn commit: r209537 -
/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
Author: scolebourne
Date: Wed Jul 6 16:11:46 2005
New Revision: 209537
URL: http://svn.apache.org/viewcvs?rev=209537&view=rev
Log:
Move ignore method to correct place in file
Modified:
jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java?rev=209537&r1=209536&r2=209537&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java (original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java Wed Jul 6 16:11:46 2005
@@ -990,6 +990,18 @@
}
}
+ /**
+ * 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
//-----------------------------------------------------------------------
/**
@@ -1014,18 +1026,6 @@
if (trimmer != null) {
this.trimmer = trimmer;
}
- }
-
- /**
- * 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));
}
//-----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org