mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-28 23:50:57 +07:00
Fixes EA-795482 - IOE: JavaParserUtil.parseFragment GitOrigin-RevId: 63fe89da84e4432fab8f8f191c139add97553640
12 lines
243 B
Java
12 lines
243 B
Java
// "Replace 'switch' with 'if'" "true-preview"
|
|
class X {
|
|
void test(int x) {
|
|
if (x == 1) {
|
|
{
|
|
System.out.println("hello");
|
|
}
|
|
} else if (x == 2) {
|
|
System.out.println("oops");
|
|
}
|
|
}
|
|
} |