Remove the @Autowired annotation on inferred constructor
MSALSpring can infer an autowired constructor when there is a single constructor on the bean. This recipe removes unneeded @Autowired annotations on constructors.
org. openrewrite. java. spring. NoAutowiredOnConstructormod run . --recipe= org. openrewrite. java. spring. NoAutowiredOnConstructorInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.