Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convertSwitchToIf/afterLocalEnum3.java
T

11 lines
197 B
Java

// "Replace 'switch' with 'if'" "true-preview"
class Test {
void test() {
enum P {
s, l;
}
P p = null;
if (p == P.s || p == null) {
}
}
}