Files
openide/java/java-tests/testData/refactoring/introduceVariable/EnsureCodeBlockForThrowsJava12Preview.java
Anna.Kozlova 20ada465d1 fix typos
2018-11-26 14:03:17 +01:00

12 lines
237 B
Java

import java.io.IOException;
class MyTest {
private static void switchChain(final int i) throws IOException {
int g = switch (i) {
default -> throw new IOException(<selection>""</selection>);
};
}
}