Use IntArray.contentToString() instead of Arrays.toString(arr)
Proprietaryjava.util.Arrays.toString(arr: int[]) is JVM-only; arr.contentToString() is the multiplatform Kotlin extension producing the same bracketed representation.
org. openrewrite. kotlin. migrate. UseIntArrayContentToString$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseIntArrayContentToString$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.