Replace booleanExpression ? true : false with booleanExpression
MSALReplace ternary expressions like booleanExpression ? true : false with booleanExpression.
org. openrewrite. staticanalysis. SimplifyTernaryRecipes$SimplifyTernaryTrueFalseRecipemod run . --recipe= 'org. openrewrite. staticanalysis. SimplifyTernaryRecipes$SimplifyTernaryTrueFalseRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.