scolebourne 2004/02/13 15:32:39
Modified: lang/src/java/org/apache/commons/lang StringUtils.java
Log:
Add comment about new Tokenizer class in split method
Revision Changes Path
1.123 +7 -4
jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java
Index: StringUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- StringUtils.java 24 Dec 2003 01:33:30 -0000 1.122
+++ StringUtils.java 13 Feb 2004 23:32:39 -0000 1.123
@@ -1984,7 +1984,8 @@
* Whitespace is defined by [EMAIL PROTECTED] Character#isWhitespace(char)}.</p>
*
* <p>The separator is not included in the returned String array.
- * Adjacent separators are treated as one separator.</p>
+ * Adjacent separators are treated as one separator.
+ * For more control over the split use the Tokenizer class.</p>
*
* <p>A <code>null</code> input String returns <code>null</code>.</p>
*
@@ -2008,7 +2009,8 @@
* This is an alternative to using StringTokenizer.</p>
*
* <p>The separator is not included in the returned String array.
- * Adjacent separators are treated as one separator.</p>
+ * Adjacent separators are treated as one separator.
+ * For more control over the split use the Tokenizer class.</p>
*
* <p>A <code>null</code> input String returns <code>null</code>.</p>
*
@@ -2064,7 +2066,8 @@
* This is an alternative to using StringTokenizer.</p>
*
* <p>The separator is not included in the returned String array.
- * Adjacent separators are treated as one separator.</p>
+ * Adjacent separators are treated as one separator.
+ * For more control over the split use the Tokenizer class.</p>
*
* <p>A <code>null</code> input String returns <code>null</code>.
* A <code>null</code> separatorChars splits on whitespace.</p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]