commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cimballi (JIRA)" <j...@apache.org>
Subject [jira] Created: (LANG-261) Error in an example in the javadoc of the StringUtils.splitPreserveAllTokens() method
Date Wed, 31 May 2006 17:10:32 GMT
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


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


Mime
View raw message