You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alex (JIRA)" <ji...@apache.org> on 2018/07/06 07:07:00 UTC
[jira] [Updated] (LANG-1401) Typo in JavaDoc for lastIndexOf
[ https://issues.apache.org/jira/browse/LANG-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex updated LANG-1401:
-----------------------
Summary: Typo in JavaDoc for lastIndexOf (was: Typo in Java doc for lastIndexOf)
> Typo in JavaDoc for lastIndexOf
> -------------------------------
>
> Key: LANG-1401
> URL: https://issues.apache.org/jira/browse/LANG-1401
> Project: Commons Lang
> Issue Type: Bug
> Reporter: Alex
> Priority: Minor
>
> 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 have same arguments but result differ:
> StringUtils.lastIndexOf("aabaabaa", "ba", 2) = -1
> StringUtils.lastIndexOf("aabaabaa", "ba", 2) = 2
>
> Thank
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)