As Spring Framework 6 uses JDK17 for its baseline, parseInt method can be used without using substring method. - use parseInt(CharSequence s, int beginIndex, int endIndex, int radix) - JDK 9

I think this modification can prevent to create unnecessary string object.

Comment From: pivotal-cla

@KimDoubleB Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@KimDoubleB Thank you for signing the Contributor License Agreement!

Comment From: poutsma

Merged in 804b343

Thank you for submitting a PR!