mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 06:20:54 +07:00
8 lines
146 B
Java
8 lines
146 B
Java
// "Unwrap 'switch'" "true-preview"
|
|
class Test {
|
|
void foo(Object obj) {
|
|
int answer = sw<caret>itch (obj) {
|
|
default -> 42;
|
|
};
|
|
}
|
|
} |