mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
16 lines
414 B
Java
16 lines
414 B
Java
// "Extract if (a)" "true-preview"
|
|
class Test {
|
|
void f(boolean a, boolean b, boolean c, boolean d){
|
|
if (a) {
|
|
if (b) {
|
|
System.out.println("a&b");//first comment
|
|
} else {
|
|
System.out.println("a");//a
|
|
}
|
|
} else if (a && c) {
|
|
System.out.println("a&c");//ac
|
|
} else if (a && d) {
|
|
System.out.println("a&d");//ad
|
|
}
|
|
}
|
|
} |