mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
16 lines
305 B
Java
16 lines
305 B
Java
// "Add 'catch' clause(s)" "false"
|
|
import java.util.function.Supplier;
|
|
|
|
class C {
|
|
static Object get() throws Exception {
|
|
return null;
|
|
}
|
|
|
|
void method() {
|
|
try {
|
|
Supplier<Object> lambda1 = () -> C.ge<caret>t();
|
|
} catch( Exception e) {
|
|
throw new RuntimeException(e);
|
|
}
|
|
}
|
|
} |