mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 21:44:18 +07:00
12 lines
263 B
Java
12 lines
263 B
Java
// "Delete redundant 'switch' branch" "GENERIC_ERROR_OR_WARNING"
|
|
class C {
|
|
void test(int n) {
|
|
String s = switch (n) {
|
|
case 2:
|
|
break "b";
|
|
case 3:
|
|
default:
|
|
break "a";
|
|
};
|
|
}
|
|
} |