Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/deleteSwitchLabel/beforeDeleteCaseRule.java
Anna Kozlova bd1a21a02a bump highest language level to 14, prepare to remove 13_preview
GitOrigin-RevId: ec42a9047ba63b0cbaddd8357d11ae2ed56ed6b6
2020-04-01 12:31:42 +00:00

12 lines
290 B
Java

// "Remove switch branch '-/*x*/1'" "true"
class Main {
static void fff(int x) {
if (x > 0) {
switch (x) {
case 2 -> System.out.println("two"); //2
case -<caret>/*x*/1 -> System.out.println("one"); //1
}
}
}
}