Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

spring-issuemaster opened this issue Oct 22, 2017 · 1 comment


None yet
2 participants
Copy link

commented Oct 22, 2017

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


This comment has been minimized.

Copy link
Collaborator Author

commented Oct 22, 2017

Juergen Hoeller commented

Applied to master for 5.0.1 now. I'll backport it along with other recent refinements to 4.3.13 ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.