mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
Fixes IDEA-199692 Quickfix to delete unreachable switch branch reported by "constant conditions & exceptions"
12 lines
231 B
Java
12 lines
231 B
Java
// "Remove switch branch '"bar"'" "true"
|
|
class Main {
|
|
public void test() {
|
|
switch ("foo") {
|
|
case "baz":
|
|
System.out.println("foo");
|
|
break;
|
|
//oops
|
|
}
|
|
}
|
|
}
|