mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 23:39:57 +07:00
GitOrigin-RevId: 411e4842d0ecf8cf4db0308f854e179dee46ced3
11 lines
179 B
Java
11 lines
179 B
Java
// "Replace with 'switch' expression" "true-preview"
|
|
|
|
class X {
|
|
void test(E e) {
|
|
int d = switch (e) {
|
|
case E ee -> 3;
|
|
};
|
|
}
|
|
|
|
enum E {A, B}
|
|
} |