See https://github.com/spring-projects/spring-boot/pull/45165 and the comment from @nosan
I am wondering if this could be addressed by using a Checkstyle rule such as ExplicitInitialization to enforce avoiding explicit initialization of primitives with their default values.
Comment From: philwebb
We discussed this and we'd like to add the rule at some point.
Comment From: CatiaCorreia
Hi @philwebb. I would like to work on this issue. Could you assign it to me?