Files
openide/java/java-tests/testData/refactoring/extractMethodNew/ExtractConditionalBreak.java
Alexandr Suhinin a1baa62c1b extract method: fix test so they dont test if conditions
GitOrigin-RevId: 7282f25d9aa56643b42f1ef6a279dd1a7bf53a09
2020-05-06 13:56:03 +00:00

12 lines
263 B
Java

class Test {
public void test(int x, int y) {
while (x < 10) {
x++;
<selection>if (x == y) {
System.out.println();
break;
}</selection>
}
System.out.println();
}
}