blob: 94e778dfe330468012d8fcbd1d92c36c007f3c2b [file]
// "Extract common part removing branch" "false"
import java.util.Collection;
import java.util.List;
import java.util.Set;
public class IfStatementWithIdenticalBranches {
int getX() {
return 42;
}
int work() {
if(true) <caret> {
final int y = getX();
return y;
} else {
int x = getX();
System.out.println(x);
return x;
}
}
}