Use Int.MAX_VALUE instead of java.lang.Integer.MAX_VALUE

Proprietary

Integer.MAX_VALUE is the JVM-only spelling; Kotlin's Int.MAX_VALUE is the multiplatform equivalent.

org.openrewrite.kotlin.migrate.UseKotlinIntMax$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.migrate.UseKotlinIntMax$KtRecipe'

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