[
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