Use Char.code instead of Char.toInt()

Proprietary

Char.toInt() was deprecated in Kotlin 1.5; the replacement Char.code makes the conversion-to-codepoint intent explicit (the old name collided with Number.toInt()).

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