[
https://issues.apache.org/jira/browse/LANG-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary D. Gregory updated LANG-1620:
----------------------------------
Summary: Refine StringUtils.lastIndexOfIgnoreCase (was: refine
StringUtils.lastIndexOfIgnoreCase)
> 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
> Fix For: 3.12
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)