mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 11:42:40 +07:00
GitOrigin-RevId: 411e4842d0ecf8cf4db0308f854e179dee46ced3
13 lines
241 B
Java
13 lines
241 B
Java
// "Replace with enhanced 'switch' statement" "true-preview"
|
|
|
|
class A {
|
|
private void f() {
|
|
switch (1) {
|
|
case 1 -> o.act(); //
|
|
case 2 -> {
|
|
o.act(); //
|
|
o.act();
|
|
}
|
|
}
|
|
}
|
|
} |