Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1620

Refine StringUtils.lastIndexOfIgnoreCase

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.12.0
    • Component/s: None

      Description

      Avoid Multiple calls to calculate the length of the chain

       

      final int searchStrLength = searchStr.length(); 
      final int strLength = str.length();
      

      https://github.com/apache/commons-lang/pull/664

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arturobernalg Arturo Bernal

              Dates

              • Created:
                Updated:
                Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 1h
              1h

                Issue deployment