mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-29 16:50:55 +07:00
Fixes EA-795482 - IOE: JavaParserUtil.parseFragment GitOrigin-RevId: 63fe89da84e4432fab8f8f191c139add97553640
11 lines
222 B
Java
11 lines
222 B
Java
// "Replace 'switch' with 'if'" "true-preview"
|
|
class X {
|
|
void test(int x) {
|
|
<caret>switch (x) {
|
|
case 1 -> {{
|
|
System.out.println("hello");
|
|
}}
|
|
case 2 -> System.out.println("oops");
|
|
}
|
|
}
|
|
} |