We removed several in https://github.com/spring-projects/spring-boot/pull/26441 but the Java Format upgrade and https://github.com/spring-io/spring-javaformat/issues/273 has revealed that we have quite a few more, both in tests and in main code. A handful of them in main code are in public API (note that we don't consider @Bean methods of auto-configuration to be public API) and their removal will be handled separately and only in the main branch.