mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-13 06:07:04 +07:00
13 lines
234 B
Java
13 lines
234 B
Java
// "Replace 'switch' with 'if'" "true-preview"
|
|
class X {
|
|
int m(String s, boolean r) {
|
|
switc<caret>h(s) {
|
|
case "x":
|
|
System.out.println("foo");
|
|
break;
|
|
default: {
|
|
//ignore
|
|
}
|
|
}
|
|
}
|
|
} |