Drop redundant String.toString()

Proprietary

Calling toString() on a value that is already a String is a no-op that compiles to a method call returning the same reference.

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