https://github.com/spring-projects/spring-boot/issues/28924

Comment From: snicoll

Thanks foe the PR but I prefer the code as it currently is.