Use kotlin.math.hypot instead of java.lang.Math.hypot
ProprietaryPrefer the multiplatform-friendly kotlin.math.hypot over the JVM-only Math.hypot.
org. openrewrite. kotlin. migrate. UseKotlinMathHypot$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseKotlinMathHypot$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.