commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (LANG-783) Documentation bug: StringUtils.split
Date Wed, 28 Dec 2011 06:00:32 GMT

     [ 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

        

Mime
View raw message