Files
openide/java/java-tests/testData/codeInsight/template/ThrInSwitch-out.java
Tagir Valeev b47e2068ba [java-live-templates] Stabilize ThrInSwitch test
Document.stripTrailingSpaces behavior depends on whether the document is committed, which looks to be racy.

GitOrigin-RevId: bdc8b46e9a968782ac7630102b5393460d113061
2023-06-07 10:27:31 +00:00

9 lines
113 B
Java

import java.util.List;
class Foo {
void test() {
switch(1) {
default -> throw new<caret>
}
}
}