Description
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"]
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/commons/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.