Replace setObjectMapper with constructor injection
ProprietaryFolds setObjectMapper calls on MappingJackson2HttpMessageConverter into the constructor. If the converter is instantiated in the same block with no other invocations, the setter call is replaced with constructor injection. Otherwise, a TODO comment is added.
io. moderne. java. spring. framework. MigrateConverterSetObjectMappermod run . --recipe= io. moderne. java. spring. framework. MigrateConverterSetObjectMapperInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.