Remove public from @Bean methods

MSAL

Remove public modifier from @Bean methods. They no longer have to be public visibility to be usable by Spring.

org.openrewrite.java.spring.framework.BeanMethodsNotPublic
mod run . --recipe=org.openrewrite.java.spring.framework.BeanMethodsNotPublic

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.