mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 13:50:53 +07:00
27 lines
532 B
Java
27 lines
532 B
Java
class Test23 {
|
|
void m() throws Exception {
|
|
try (FooContext fo<caret>o = new FooContext()) {
|
|
try (BarContext ignored = new BarContext()) {
|
|
fooBar();
|
|
}
|
|
}
|
|
}
|
|
|
|
private void fooBar() {
|
|
|
|
}
|
|
|
|
private class FooContext implements AutoCloseable {
|
|
@Override
|
|
public void close() throws Exception {
|
|
|
|
}
|
|
}
|
|
|
|
private class BarContext implements AutoCloseable{
|
|
@Override
|
|
public void close() throws Exception {
|
|
|
|
}
|
|
}
|
|
} |