Use Char.uppercaseChar() instead of Character.toUpperCase(c)
ProprietaryPrefer the multiplatform Kotlin extension c.uppercaseChar() over the JVM-only Character.toUpperCase(c).
org. openrewrite. kotlin. migrate. UseCharUppercaseCharForCharacter$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseCharUppercaseCharForCharacter$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.