Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/switchDefault/afterRuleEmpty.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

7 lines
87 B
Java

// "Unwrap 'switch'" "true"
public class One {
void n() {
if (true) {
}
}
}