Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convertSwitchToIf/afterRuleJava13Preview.java
Anna Kozlova 2e17e61cae remove language level 12 preview for 2019.3 release
IDEA would support latest preview only

GitOrigin-RevId: 6609e80acced9e1be07880c14de239f75afcc78b
2019-07-09 00:03:25 +03:00

10 lines
202 B
Java

// "Replace 'switch' with 'if'" "true"
class Test {
void foo(int x) {
if (x == 0) {
System.out.println(x);
} else if (x == 1) {
System.out.println("one");
}
}
}