mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 21:50:54 +07:00
15 lines
273 B
Java
15 lines
273 B
Java
// "Unwrap 'switch'" "true-preview"
|
|
class X {
|
|
String test(char c) {
|
|
s<caret>witch (c) {
|
|
default:
|
|
if(c == 'a') {
|
|
System.out.println("foo");
|
|
break;
|
|
}
|
|
System.out.println("oops");
|
|
break;
|
|
}
|
|
return "";
|
|
}
|
|
} |