Avoid temporary String creation in StringUtils.starts/endsWithIgnoreCase [SPR-16095] #20644
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Juergen Hoeller opened SPR-16095 and commented
Along the lines of #1574,
StringUtils.endsWithIgnoreCase
as well as {startsWithIgnoreCase}} can be reimplemented towards use ofString.regionMatches
without any temporary String creation.Affects: 4.3.12, 5.0 GA
Referenced from: commits 99d39eb, 75ec973, 5d41e0f
Backported to: 4.3.13
The text was updated successfully, but these errors were encountered: