blob: 31e98f78c142859d26f6d855482447e2da330e72 [file]
// "Extract common part with variables from 'if'" "false"
import java.util.List;
import java.util.Map;
public class Main {
private void work(int i){};
public int test(int a, int b) {
if<caret>(true) {
int c = a + b;
work(1);
return c;
} else {
work(2);
int c = a - b;
return c;
}
}
}