mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-03 19:58:23 +07:00
IDEA would support latest preview only GitOrigin-RevId: 6609e80acced9e1be07880c14de239f75afcc78b
9 lines
189 B
Java
9 lines
189 B
Java
// "Replace 'switch' with 'if'" "true"
|
|
class Test {
|
|
void foo(int x) {
|
|
switch<caret> (x) {
|
|
case 0 -> System.out.println(x);
|
|
case 1 -> System.out.println("one");
|
|
}
|
|
}
|
|
} |