commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samuel Tardieu (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-783) Documentation bug: StringUtils.split
Date Fri, 16 Dec 2011 08:38:30 GMT
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


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