Open timo-a opened 3 months ago
Guess that's a case not handled before indeed; We can either update the produced if statements to use parentheses when any operations are involved, or choose to simply for now skip such cases to not produce any breaking code changes. Either way thanks for reporting this to us!
What version of OpenRewrite are you using?
I am using the latest version as of 2024-04-02
How are you running OpenRewrite?
I am using the Maven plugin, and my project is a single module project.
What is the smallest, simplest way to reproduce the problem?
What did you expect to see?
What did you see instead?
What is the full stack trace of any errors you encountered?
Are you interested in contributing a fix to OpenRewrite?
no