Replace deprecated RequestMatcherProvider with new API
ProprietaryReplaces the deprecated org.springframework.boot.autoconfigure.security.servlet.RequestMatcherProvider with org.springframework.boot.security.autoconfigure.actuate.web.servlet.RequestMatcherProvider. The new interface adds an HttpMethod parameter to the getRequestMatcher method.
io. moderne. java. spring. boot4. ReplaceDeprecatedRequestMatcherProvidermod run . --recipe= io. moderne. java. spring. boot4. ReplaceDeprecatedRequestMatcherProviderInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Add a
nullmethod argument 1 in methodsorg.springframework.boot.autoconfigure.security.servlet.RequestMatcherProvider getRequestMatcher(java.lang.String) - Add comment to method invocations
- Change type
org.springframework.boot.autoconfigure.security.servlet.RequestMatcherProvidertoorg.springframework.boot.security.autoconfigure.actuate.web.servlet.RequestMatcherProvider