You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/06/01 19:20:30 UTC

[jira] Updated: (LANG-261) Error in an example in the javadoc of the StringUtils.splitPreserveAllTokens() method

     [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org