Use Array.contentHashCode() instead of Arrays.hashCode(arr)

Proprietary

java.util.Arrays.hashCode(arr: Object[]) is JVM-only; arr.contentHashCode() is the multiplatform Kotlin extension. For nested arrays use the deep variant.

org.openrewrite.kotlin.migrate.UseArrayContentHashCode$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.migrate.UseArrayContentHashCode$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.