Use kotlin.math.sign instead of java.lang.Math.signum
ProprietaryMath.signum(x) is renamed to kotlin.math.sign(x) in the multiplatform kotlin.math package.
org. openrewrite. kotlin. migrate. UseKotlinMathSign$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseKotlinMathSign$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.