You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (Closed) (JIRA)" <ji...@apache.org> on 2011/12/28 07:00:32 UTC

[jira] [Closed] (LANG-783) Documentation bug: StringUtils.split

     [ https://issues.apache.org/jira/browse/LANG-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed LANG-783.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2

Thanks Samuel. Resolved in r1225104.
                
> Documentation bug: StringUtils.split
> ------------------------------------
>
>                 Key: LANG-783
>                 URL: https://issues.apache.org/jira/browse/LANG-783
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 3.1
>            Reporter: Samuel Tardieu
>            Priority: Trivial
>              Labels: documentation
>             Fix For: 3.2
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> The documentation for StringUtils.split(String, String, int) contains wrong strings:
> StringUtils.split("ab de fg", null, 0)   = ["ab", "cd", "ef"]
> StringUtils.split("ab   de fg", null, 0) = ["ab", "cd", "ef"]
> This should read:
> StringUtils.split("ab cd ef", null, 0)   = ["ab", "cd", "ef"]
> StringUtils.split("ab   cd ef", null, 0) = ["ab", "cd", "ef"]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira