Use Array.contentDeepHashCode() instead of Arrays.deepHashCode(arr)
Proprietaryjava.util.Arrays.deepHashCode(arr) recursively hashes nested arrays; arr.contentDeepHashCode() is the multiplatform Kotlin extension.
org. openrewrite. kotlin. migrate. UseArrayContentDeepHashCode$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseArrayContentDeepHashCode$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.