Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/deleteSwitchLabel/afterFixAll.java
Tagir Valeev 1554b0c513 DeleteSwitchLabelFix: check again whether the whole branch should be removed when fix is actually applied
Fixes IDEA-200021 Red code after applying 'Fix all 'Constant conditions and exception' problems in the file' with multiple case labels
2018-10-08 14:09:25 +07:00

10 lines
209 B
Java

// "Fix all 'Constant conditions & exceptions' problems in file" "true"
class Main {
void t() {
int i = 5;
switch(i) {
// Apply 'Fix all problems in the file'
}
}
}