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

Henri Yandell updated LANG-261:
-------------------------------

    Fix Version: 2.2

> 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