commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-1401) Typo in Java doc for lastIndexOf
Date Fri, 06 Jul 2018 07:06:00 GMT
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)

Mime
View raw message