This PR polishes a bit just by applying the suggestion from https://github.com/spring-projects/spring-framework/pull/30120#discussion_r1144508422.