mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 21:44:18 +07:00
IDEA-310260 GitOrigin-RevId: ce07977550e3a5c15d63f0a6eeed1d7341c74164
14 lines
312 B
Java
14 lines
312 B
Java
// "Delete redundant 'switch' branch" "GENERIC_ERROR_OR_WARNING"
|
|
class Test {
|
|
void foo(String o) {
|
|
switch (o) {
|
|
case null:
|
|
System.out.println(42);
|
|
break;
|
|
default:
|
|
System.out.println(42);
|
|
break;
|
|
}
|
|
}
|
|
}
|