mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
17 lines
331 B
Java
17 lines
331 B
Java
// "Extract side effects as an 'if' statement" "true-preview"
|
|
class Z {
|
|
|
|
void z() {
|
|
if (foo) {
|
|
switch (0) {
|
|
case 0:
|
|
break;
|
|
case 1:
|
|
break;
|
|
default:
|
|
new Foo().getBar();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} |