mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 17:56:55 +07:00
GitOrigin-RevId: 411e4842d0ecf8cf4db0308f854e179dee46ced3
13 lines
211 B
Java
13 lines
211 B
Java
// "Replace with 'switch' expression" "true-preview"
|
|
|
|
class X {
|
|
void test(E e) {
|
|
int d = 5;
|
|
<caret>switch (e) {
|
|
case A:
|
|
d = 3;
|
|
}
|
|
}
|
|
|
|
enum E {A, B}
|
|
} |