[ http://issues.apache.org/jira/browse/LANG-261?page=all ]
     
Henri Yandell resolved LANG-261:
--------------------------------

    Resolution: Fixed

Taken care of. Threw a unit test in because it's a Monday and they're half 
price:

svn ci -m "Fixing Javadoc and adding Unit Test for the example for #LANG-261. " 
src/test/org/apache/comm
ons/lang/StringUtilsTest.java src/java/org/apache/commons/lang/StringUtils.java
Sending        src/java/org/apache/commons/lang/StringUtils.java
Sending        src/test/org/apache/commons/lang/StringUtilsTest.java
Transmitting file data ..
Committed revision 411898.

> Error in an example in the javadoc of the 
> StringUtils.splitPreserveAllTokens() method
> -------------------------------------------------------------------------------------
>
>          Key: LANG-261
>          URL: http://issues.apache.org/jira/browse/LANG-261
>      Project: Commons Lang
>         Type: Bug

>     Versions: 2.1
>     Reporter: Cimballi
>     Priority: Trivial
>      Fix For: 2.2

>
> There is an error in the javadoc of the 
> org.apache.commons.lang.StringUtils.splitPreserveAllTokens(String str,char 
> separatorChar) method.
> Here the original line :
> StringUtils.splitPreserveAllTokens("a..b.c", '.')   = ["a", "b", "c"]
> But it should be :
> StringUtils.splitPreserveAllTokens("a..b.c", '.')   = ["a", "", "b", "c"]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to