blob: 57f9371a727895b6e22b8d40b5a3b2581eb16b53 [file]
// "Extract variables from 'if'" "true"
import java.util.Collection;
import java.util.List;
import java.util.Set;
public class IfStatementWithIdenticalBranches {
int getX() {
return 42;
}
int work() {
int x = getX();
if(true) {
//Then
} else {
return x;
}
}
}