Skip to content

Avoid temporary String creation in StringUtils.starts/endsWithIgnoreCase [SPR-16095] #20644

Closed
@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-16095 and commented

Along the lines of #1574, StringUtils.endsWithIgnoreCase as well as {startsWithIgnoreCase}} can be reimplemented towards use of String.regionMatches without any temporary String creation.


Affects: 4.3.12, 5.0 GA

Referenced from: commits 99d39eb, 75ec973, 5d41e0f

Backported to: 4.3.13

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions