mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
11 lines
200 B
Java
11 lines
200 B
Java
// "Wrap with block" "true-preview"
|
|
class X {
|
|
void foo(int i) {
|
|
switch(i) {
|
|
case 1 -> {
|
|
for(int i=0; i<10; i++) System.out.println(i);
|
|
}
|
|
case 2 ->
|
|
}
|
|
}
|
|
} |