Files
Alexandr Suhininandintellij-monorepo-bot a1baa62c1b extract method: fix test so they dont test if conditions
GitOrigin-RevId: 7282f25d9aa56643b42f1ef6a279dd1a7bf53a09
2020-05-06 13:56:03 +00:00

19 lines
312 B
Java

class Test{
public void foo() {
if (cond1){
if (newMethod()) return;
}
else if (cond3){
}
x();
}
private boolean newMethod() {
if (cond2) {
System.out.println();
return true;
}
return false;
}
}