mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-28 23:50:57 +07:00
10 lines
247 B
Java
10 lines
247 B
Java
// "Replace 'switch' with 'if'" "true-preview"
|
|
class Test {
|
|
void foo(int x) {
|
|
switch<caret> (x) {
|
|
case 0,1: System.out.println("ready");
|
|
case 2,3: System.out.println("steady");
|
|
default: System.out.println("go");
|
|
}
|
|
}
|
|
} |