mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-22 19:49:20 +07:00
bd1a21a02a
GitOrigin-RevId: ec42a9047ba63b0cbaddd8357d11ae2ed56ed6b6
17 lines
323 B
Java
17 lines
323 B
Java
// "Extract side effects as an 'if' statement" "true"
|
|
class Z {
|
|
|
|
void z() {
|
|
if (foo) {
|
|
switch (0) {
|
|
case 0:
|
|
break;
|
|
case 1:
|
|
break;
|
|
default:
|
|
new Foo().getBar();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} |