Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/switchDefault/beforeRuleEmpty.java
Tagir Valeev 0835bd0976 ConvertSwitchToIfIntention: fix processing of empty blocks
IDEA-205137 `Replace Switch with If` produce exceptions
IDEA-205122 Unwrap switch fails with exception
2019-01-10 12:40:04 +07:00

11 lines
152 B
Java

// "Unwrap 'switch'" "true"
public class One {
void n() {
if (true) {
swit<caret>ch (0) {
default -> {
}
}
}
}
}