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) {
487487 * If existing method names need to be rotated in a loop the recipe should still work.
488488 * For now this is not planned.
489489 */
490-
490+ @ ExpectedToFail ( "Not implemented yet" )
491491 @ Test
492492 void shouldWorkOnCircleCasesButDoesntYet () {
493493 rewriteRun (// language=java
494494 java (
495495 """
496-
497496 class A {
498497
499498 int foo;
500-
501499 int bar;
502500
503501 public void setBar(int bar) {
@@ -508,27 +506,24 @@ public void setFoo(int foo) {
508506 this.bar = foo;
509507 }
510508
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+
511525 }
512526 """
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- // """
532527 )
533528 );
534529 }
You can’t perform that action at this time.
0 commit comments