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

12 lines
303 B
Java

// "Replace 'switch' with 'if'" "true"
class Test {
void foo(int x) {
if (x == 0 || x == 1) {
System.out.println("ready");
System.out.println("steady");
} else if (x == 2 || x == 3) {
System.out.println("steady");
}
System.out.println("go");
}
}