Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/extractIfCondition/afterRepeating2.java
2018-04-13 10:39:50 +07:00

16 lines
401 B
Java

// "Extract if (a)" "true"
class Test {
void f(boolean a, boolean b, boolean c, boolean d){
if (a) {
if (b) {
System.out.println("a&b");//first comment
} else if (c) {
System.out.println("a&c");//ac
} else {
System.out.println("a");//a
}
} else if (d) {
System.out.println("d");//d
}
}
}