Replace JUL Logger.isLoggable(Level.WARNING) with SLF4J's Logger.isWarnEnabled()

MSAL

Replace calls to java.util.logging.Logger.isLoggable(Level.WARNING) with org.slf4j.Logger.isWarnEnabled().

org.openrewrite.java.logging.slf4j.JulIsLoggableToIsEnabledRecipes$LoggerIsLoggableLevelWarningRecipe
mod run . --recipe='org.openrewrite.java.logging.slf4j.JulIsLoggableToIsEnabledRecipes$LoggerIsLoggableLevelWarningRecipe'

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