Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convertSwitchToIf/afterLocalEnum.java
T
2021-07-20 09:42:18 +00:00

11 lines
173 B
Java

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