mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +07:00
21 lines
422 B
Java
21 lines
422 B
Java
// "Copy 'switch' branch" "true-preview"
|
|
class C {
|
|
void foo(int n) {
|
|
String s = "";
|
|
switch (n) {
|
|
// 3
|
|
case 2: // 4
|
|
// 5
|
|
s = "x"; // 6
|
|
// 7
|
|
break; // 8
|
|
// 1
|
|
case 1: // 2
|
|
// 5
|
|
s = "x"; // 6
|
|
// 7
|
|
break; // 8
|
|
//9
|
|
}
|
|
}
|
|
} |