Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/collapseIntoLoop/beforeInSwitch.java
Tagir Valeev ebc61af5e8 [java-intention] CollapseIntoLoopAction: disable inside switch and on declarations (IDEA-251600)
GitOrigin-RevId: de00fe6b26f1969f8f9df0ac2d944ec76f402c8c
2020-10-02 04:09:06 +00:00

10 lines
149 B
Java

// "Collapse into loop" "false"
class X {
void test() {
switch(0) {
<caret>case 1 -> {}
case 2 -> {}
case 3 -> {}
}
}
}