Files
openide/java/java-tests/testData/inspection/commonIfParts/afterThenRemove.java
T
2018-01-03 14:18:52 +01:00

18 lines
297 B
Java

// "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() {
int x = getX();
if (false) {
return x;
}
}
}