Migrate ResponseStatusException#getRawStatusCode() to getStatusCode().value()

MSAL

Migrate Spring Framework 5.3's ResponseStatusException method getRawStatusCode() to Spring Framework 6's getStatusCode().value(). Also handles RestClientResponseException and its subclasses such as HttpServerErrorException.

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

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