mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-13 06:07:04 +07:00
Fixes IDEA-204138 Exception in "statement with empty body" inspection with switch expression Fixes EA-133610 - REWA: StatementExtractor.createNode
14 lines
316 B
Java
14 lines
316 B
Java
// "Extract side effects as an 'if' statement" "true"
|
|
class Z {
|
|
|
|
void z() {
|
|
i<caret>f (foo ? switch(0) {
|
|
case 0: break false;
|
|
case 1: break true;
|
|
default: break new Foo().getBar();
|
|
} : switch(0) {
|
|
case 0: break false;
|
|
case 1: break true;
|
|
default: break false;}) {}
|
|
}
|
|
} |