You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Cimballi (JIRA)" <ji...@apache.org> on 2006/05/31 19:10:32 UTC
[jira] Created: (LANG-261) Error in an example in the javadoc of
the StringUtils.splitPreserveAllTokens() method
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
[jira] Updated: (LANG-261) Error in an example in the javadoc of
the StringUtils.splitPreserveAllTokens() method
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-261?page=all ]
Henri Yandell updated LANG-261:
-------------------------------
Fix Version: 2.2
> 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
> Fix For: 2.2
>
> 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
[jira] Resolved: (LANG-261) Error in an example in the javadoc of
the StringUtils.splitPreserveAllTokens() method
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LANG-261?page=all ]
Henri Yandell resolved LANG-261:
--------------------------------
Resolution: Fixed
Taken care of. Threw a unit test in because it's a Monday and they're half price:
svn ci -m "Fixing Javadoc and adding Unit Test for the example for #LANG-261. " src/test/org/apache/comm
ons/lang/StringUtilsTest.java src/java/org/apache/commons/lang/StringUtils.java
Sending src/java/org/apache/commons/lang/StringUtils.java
Sending src/test/org/apache/commons/lang/StringUtilsTest.java
Transmitting file data ..
Committed revision 411898.
> 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
> Fix For: 2.2
>
> 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