diff --git a/java/java-tests/testData/refactoring/convertToInstanceMethod/Simple.java.after b/java/java-tests/testData/refactoring/convertToInstanceMethod/Simple.java.after index b620826c72e9..69449ae2ce76 100644 --- a/java/java-tests/testData/refactoring/convertToInstanceMethod/Simple.java.after +++ b/java/java-tests/testData/refactoring/convertToInstanceMethod/Simple.java.after @@ -1,11 +1,11 @@ public class Y { - public void foo() { - } - void method() { System.out.println(this); foo(); } + + public void foo() { + } } public class X {