Drop redundant String.toString()
ProprietaryCalling 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$KtRecipemod 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.