Files
Tagir Valeev dd689d3a39 [java-inspections] More tests for preview
GitOrigin-RevId: 6b6405ee4491ad1d58947547c40df6fb2d291ab7
2022-07-29 17:54:59 +00:00

13 lines
270 B
Java

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