mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
16 lines
344 B
Java
16 lines
344 B
Java
// "Generalize catch for 'java.lang.Exception' to 'java.lang.Exception'" "false"
|
|
import java.util.function.Supplier;
|
|
|
|
class C {
|
|
static Object get() throws Exception {
|
|
return null;
|
|
}
|
|
|
|
void method() {
|
|
try {
|
|
Supplier<Object> lambda1 = C::g<caret>et;
|
|
} catch( Exception e) {
|
|
throw new RuntimeException(e);
|
|
}
|
|
}
|
|
} |