mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-18 22:42:49 +07:00
86bb492eb2
Fixes IDEA-152047 Better "Split into 2 if's" result for else-if cases
16 lines
457 B
Java
16 lines
457 B
Java
class C {
|
|
void foo(boolean a, boolean b, boolean c, boolean d, boolean e) {
|
|
/*c3*/
|
|
if (a &&/*c1*/ b) {
|
|
if (c &&/*c2*/ d) {
|
|
System.out.println("abcd");
|
|
} else if (e) {
|
|
System.out.println("abe");
|
|
} else if (a && /*c4*/ c) {
|
|
System.out.println("ac");
|
|
}
|
|
} else if (a && /*c4*/ c) {
|
|
System.out.println("ac");
|
|
}
|
|
}
|
|
} |