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