Skip to content

SimplifyBooleanExpressionVisitor: correctly negate a nested ternary - #8456

Merged
timtebeek merged 3 commits into
openrewrite:mainfrom
martinfrancois:fix/simplify-boolean-maybenegate-nested-ternary
Aug 11, 2026
Merged

SimplifyBooleanExpressionVisitor: correctly negate a nested ternary#8456
timtebeek merged 3 commits into
openrewrite:mainfrom
martinfrancois:fix/simplify-boolean-maybenegate-nested-ternary

Reuse ParenthesizeVisitor.maybeParenthesize for the negated ternary

241a5d6
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
build / build
succeeded Aug 11, 2026 in 53m 35s