File tree Expand file tree Collapse file tree 1 file changed +17
-22
lines changed
src/test/java/org/openrewrite/java/migrate/lombok Expand file tree Collapse file tree 1 file changed +17
-22
lines changed Original file line number Diff line number Diff line change @@ -487,17 +487,15 @@ public void setBa(long ba) {
487
487
* If existing method names need to be rotated in a loop the recipe should still work.
488
488
* For now this is not planned.
489
489
*/
490
-
490
+ @ ExpectedToFail ( "Not implemented yet" )
491
491
@ Test
492
492
void shouldWorkOnCircleCasesButDoesntYet () {
493
493
rewriteRun (// language=java
494
494
java (
495
495
"""
496
-
497
496
class A {
498
497
499
498
int foo;
500
-
501
499
int bar;
502
500
503
501
public void setBar(int bar) {
@@ -508,27 +506,24 @@ public void setFoo(int foo) {
508
506
this.bar = foo;
509
507
}
510
508
509
+ }
510
+ """ ,
511
+ """
512
+ class A {
513
+
514
+ int foo;
515
+ int bar;
516
+
517
+ public void setFoo(int foo) {
518
+ this.foo = foo;
519
+ }
520
+
521
+ public void setBar(int bar) {
522
+ this.bar = bar;
523
+ }
524
+
511
525
}
512
526
"""
513
- // ,
514
- // """
515
- //
516
- // class A {
517
- //
518
- // int foo;
519
- //
520
- // int bar;
521
- //
522
- // public void setFoo(int foo) {
523
- // this.foo = foo;
524
- // }
525
- //
526
- // public void setBar(int bar) {
527
- // this.bar = bar;
528
- // }
529
- //
530
- // }
531
- // """
532
527
)
533
528
);
534
529
}
You can’t perform that action at this time.
0 commit comments