[
https://issues.apache.org/jira/browse/LANG-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arturo Bernal updated LANG-1620:
--------------------------------
Labels: pull-request-available (was: )
> refine StringUtils.lastIndexOfIgnoreCase
> ----------------------------------------
>
> Key: LANG-1620
> URL: https://issues.apache.org/jira/browse/LANG-1620
> Project: Commons Lang
> Issue Type: Improvement
> Reporter: Arturo Bernal
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
>
> Avoid Multiple calls to calculate the length of the chain
>
> {code:java}
> final int searchStrLength = searchStr.length();
> final int strLength = str.length();
> {code}
> https://github.com/apache/commons-lang/pull/664
--
This message was sent by Atlassian Jira
(v8.3.4#803005)