Files
2023-01-15 05:39:32 +00:00

14 lines
332 B
Java

// "Merge with the default 'switch' branch" "GENERIC_ERROR_OR_WARNING"
class Test {
void foo(String str) {
switch (str) {
case null:
case "hello":
System<caret>.out.println(42);
break;
default:
System.out.println(42);
}
}
}