Commit 4bb23d8
Java: Fix formatting of try-with-resources (#5649)
* Java: Fix formatting of try-with-resources
Issues:
- openrewrite/rewrite-static-analysis#599
* Update rewrite-java/src/main/java/org/openrewrite/java/format/ColumnPositionCalculator.java
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---------
Co-authored-by: Tim te Beek <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent b1971ff commit 4bb23d8
File tree
6 files changed
+256
-91
lines changed- rewrite-groovy/src/main/java/org/openrewrite/groovy/format
- rewrite-java-test/src/test/java/org/openrewrite/java/format
- rewrite-java/src/main/java/org/openrewrite/java/format
6 files changed
+256
-91
lines changedLines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | | - | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | | - | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
0 commit comments