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