mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 12:20:55 +07:00
6 lines
125 B
Java
6 lines
125 B
Java
// "Unwrap 'switch'" "true-preview"
|
|
class X {
|
|
String test(int i) {
|
|
return switch<caret>(i) { default -> "foo"; };
|
|
}
|
|
} |