IDEA-94910 (control flow for resource variables fixed)

This commit is contained in:
Roman Shevchenko
2012-12-05 18:15:35 +01:00
parent 3abad067e3
commit cd78bed856
2 changed files with 7 additions and 9 deletions
@@ -1,5 +1,3 @@
import java.lang.Exception;
class Test {
static class MyResource implements AutoCloseable {
@Override public void close() { }
@@ -22,7 +20,7 @@ class Test {
}
}
/*static class ResourcefulException1 extends Exception { }
static class ResourcefulException1 extends Exception { }
static class ResourcefulException2 extends Exception { }
static class ExceptionalResource implements AutoCloseable {
@@ -45,5 +43,5 @@ class Test {
System.out.println("2");
}
}
}*/
}
}