mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-31 02:50:55 +07:00
21 lines
522 B
Java
21 lines
522 B
Java
// "Remove switch label '"bar"'" "true-preview"
|
|
class Main {
|
|
public void test() {
|
|
switch ("foo") {
|
|
case "baz":
|
|
int i = 1;
|
|
class Foo {}
|
|
System.out.println(i);
|
|
break;
|
|
case "qux":
|
|
case "<caret>bar" // comment
|
|
:
|
|
i = 2;
|
|
System.out.println("hello"+new Foo()+i);
|
|
//oops
|
|
default:
|
|
System.out.println("oops");
|
|
}
|
|
}
|
|
}
|