Files
openide/java/java-tests/testData/refactoring/extractMethodNew/ExitPoints6.java
Alexandr Suhinin c7b05d5f55 [extract method] fix test data
GitOrigin-RevId: 4d64e2fced6e7b3c87b1361de36909fec8d7db0a
2020-03-31 12:32:01 +00:00

11 lines
205 B
Java

// nullable variable with flow statement
class K {
int f(Object o) {
<selection>if (o == null) return 0;
o = new Object();</selection>
Object oo = o;
return 1;
}
}