Alex created LANG-1401:
--------------------------

             Summary: Typo in Java doc for lastIndexOf
                 Key: LANG-1401
                 URL: https://issues.apache.org/jira/browse/LANG-1401
             Project: Commons Lang
          Issue Type: Bug
            Reporter: Alex


Typo in Java doc for lastIndexOf.

You could check on following page:

[https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html#lastIndexOf-java.lang.CharSequence-java.lang.CharSequence-int-]

In example of execution two last row :

StringUtils.lastIndexOf("aabaabaa", "ba", 2) = -1 
StringUtils.lastIndexOf("aabaabaa", "ba", 2) = 2

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to