Krzysztof Nazarewski created LANG-810:
-----------------------------------------
Summary: StringUtils.join() endIndex, bugged for loop
Key: LANG-810
URL: https://issues.apache.org/jira/browse/LANG-810
Project: Commons Lang
Issue Type: Bug
Components: lang.*
Affects Versions: 3.1
Reporter: Krzysztof Nazarewski
endIndex is described as index, but for loop still checks it as "array length".
Basically missing equal sign
commons-lang3-3.1-sources.jar StringUtils.java lines 3309, 3394:
for (int i = startIndex; i < endIndex; i++) {
should be:
for (int i = startIndex; i <= endIndex; i++) {
--
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