mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
16 lines
353 B
Java
16 lines
353 B
Java
// "Extract if (a)" "true"
|
|
class TestThreadInspection {
|
|
void f(boolean a, boolean b, boolean c){
|
|
if (a)
|
|
if (b) {
|
|
System.out.println("a&b");
|
|
} else {
|
|
if (c) {
|
|
System.out.println("c");
|
|
}
|
|
}
|
|
else if (c) {
|
|
System.out.println("c");
|
|
}
|
|
}
|
|
} |