Use java.net.HttpURLConnection.HTTP_INTERNAL_ERROR
** org.openrewrite.java.migrate.net.MigrateHttpURLConnectionHttpServerErrorToHttpInternalError** java.net.HttpURLConnection.HTTP_SERVER_ERROR has been deprecated.
This recipe has no required configuration options and can be activated directly after taking a dependency on org.openrewrite.recipe:rewrite-migrate-java:1.7.0 in your build file:
Recipes can also be activated directly from the command line by adding the argument -Drewrite.activeRecipesorg.openrewrite.java.migrate.net.MigrateHttpURLConnectionHttpServerErrorToHttpInternalError