mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-23 23:11:37 +07:00
10 lines
239 B
Java
10 lines
239 B
Java
// "Replace 'switch' with 'if'" "true"
|
|
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");
|
|
}
|
|
}
|
|
} |