NeedsBraces
deletes comments, or moves comments around in confusing, inconsistent way
#315
Labels
NeedsBraces
deletes comments, or moves comments around in confusing, inconsistent way
#315
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
Maven plugin.
Minimal project to repro the issue: https://github.com/valters/test-openrewrite
Please see steps in readme.
What is the smallest, simplest way to reproduce the problem?
I am trying to rewrite following code:
What did you expect to see?
Comments should be preserved.
If comments are moved, they should move into block that they logically belong to.
What did you see instead?
What is the full stack trace of any errors you encountered?
No errors, just incorrect output.
The text was updated successfully, but these errors were encountered: