You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2020/12/05 17:27:00 UTC
[jira] [Updated] (LANG-1620) Refine
StringUtils.lastIndexOfIgnoreCase
[ 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)