Use String.toDouble() instead of java.lang.Double.parseDouble(s)
ProprietaryJava-idiom Double.parseDouble(s) migrates to the Kotlin extension s.toDouble().
org. openrewrite. kotlin. migrate. UseStringToDouble$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseStringToDouble$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.