mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-08 17:08:01 +07:00
8560c6a5d1
GitOrigin-RevId: 571a82f66623887c1b5008963df842b2597c58c9
14 lines
265 B
Java
14 lines
265 B
Java
// "Replace 'switch' with 'if'" "true-preview"
|
|
class X {
|
|
void m(String s, boolean r) {
|
|
swi<caret>tch (s) {
|
|
case "a":
|
|
System.out.println("a");
|
|
if (r) {
|
|
break;
|
|
}
|
|
default:
|
|
System.out.println("d");
|
|
}
|
|
}
|
|
} |