Use Array.contentDeepEquals() instead of Arrays.deepEquals(a, b)

Proprietary

java.util.Arrays.deepEquals(a, b) recursively compares nested arrays; a.contentDeepEquals(b) is the multiplatform Kotlin extension.

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