Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/extractIfCondition/afterSimpleElse.java
Tagir Valeev dd689d3a39 [java-inspections] More tests for preview
GitOrigin-RevId: 6b6405ee4491ad1d58947547c40df6fb2d291ab7
2022-07-29 17:54:59 +00:00

14 lines
315 B
Java

// "Extract if (a)" "true-preview"
class TestThreadInspection {
void f(boolean a, boolean b, boolean c){
if (a) {
if (b) {
System.out.println("a&b");
} else {
System.out.println("c");
}
} else {
System.out.println("c");
}
}
}