mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 19:52:07 +07:00
14 lines
378 B
Java
14 lines
378 B
Java
// "Merge with 'case 1'" "GENERIC_ERROR_OR_WARNING"
|
|
class C {
|
|
String foo(int n) {
|
|
switch (n) {
|
|
case 1:
|
|
throw new IllegalArgumentException("A");
|
|
case 2:
|
|
throw new IllegalStateException("A");
|
|
case 3:
|
|
<caret>throw new IllegalArgumentException("A");
|
|
}
|
|
return "";
|
|
}
|
|
} |