mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
Fixes EA-116570 Cannot create expression for type class com.intellij.psi.PsiDisjunctionType
14 lines
265 B
Java
14 lines
265 B
Java
// "Wrap using 'Collections.singletonList()'" "true"
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
List<Throwable> test() {
|
|
try {
|
|
System.out.println();
|
|
}
|
|
catch (Exception | Error ex) {
|
|
return Collections.singletonList(ex);
|
|
}
|
|
return null;
|
|
}
|
|
} |