mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-20 14:00:49 +07:00
b2a07e2eee
(cherry picked from commit 890ffa719208e467b1ba238d248dbbf102c71b76)
17 lines
290 B
Java
17 lines
290 B
Java
// "Add Exception to Method Signature" "true"
|
|
class C {
|
|
interface I {
|
|
void a() throws InterruptedException;
|
|
}
|
|
|
|
{
|
|
Callable<I> i = () -> {
|
|
return new I() {
|
|
public void a() throws InterruptedException {
|
|
Thread.sleep(2000);
|
|
}
|
|
};
|
|
};
|
|
}
|
|
}
|