Use IntArray.contentHashCode() instead of Arrays.hashCode(arr)
Proprietaryjava.util.Arrays.hashCode(arr: int[]) is JVM-only; arr.contentHashCode() is the multiplatform Kotlin extension and produces the same value.
org. openrewrite. kotlin. migrate. UseIntArrayContentHashCode$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseIntArrayContentHashCode$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.