Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/wrapSwitchRuleStatements/beforeOneSemicolon.java
Tagir Valeev 1e2b4cfe0d [java-intention] WrapSwitchRuleStatementsIntoBlock: support erroneous semicolon; fix-all option
Fixes EA-261429 - AE: JavaParserUtil.parseFragment

GitOrigin-RevId: 3939658513b2b1bec5eca693e50386fd4fe2e58e
2021-03-19 05:48:15 +00:00

10 lines
170 B
Java

// "Apply all 'Create block' fixes in file" "true"
class X {
void test(int x) {
switch(x) {
case 1 -> <caret>;
case 2 -> ;
case 3 -> ;
}
}
}