Migrate breaking changes in ResponseStatusException

MSAL

Migrate Spring Framework 5.3's ResponseStatusException method getRawStatusCode() to Spring Framework 6's getStatusCode().value() and ResponseStatusException method getStatus() to Spring Framework 6's getStatusCode().

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

Install 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.

  1. Migrate ResponseStatusException#getRawStatusCode() to getStatusCode().value()
  2. Migrate ResponseStatusException#getStatus() to getStatusCode()