Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/wrapSwitchRuleStatements/afterForLoop.java
Tagir Valeev da9c5dd049 Wrap switch rule statements into block fix (IDEA-202664, IDEA-207059)
GitOrigin-RevId: 184ebf34bd15c46f54685cf06521cee1d903b056
2019-07-02 06:52:16 +03:00

11 lines
192 B
Java

// "Wrap with block" "true"
class X {
void foo(int i) {
switch(i) {
case 1 -> {
for(int i=0; i<10; i++) System.out.println(i);
}
case 2 ->
}
}
}