Use Array.contentDeepToString() instead of Arrays.deepToString(arr)
Proprietaryjava.util.Arrays.deepToString(arr) recursively unrolls nested arrays; arr.contentDeepToString() is the multiplatform Kotlin extension producing the same representation.
org. openrewrite. kotlin. migrate. UseArrayContentDeepToString$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseArrayContentDeepToString$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.