mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 06:20:54 +07:00
14 lines
288 B
Java
14 lines
288 B
Java
// "Unwrap 'switch'" "true-preview"
|
|
class X {
|
|
String test(char c) {
|
|
for(int i=0; i<10; i++) {
|
|
if (c == 'a') {
|
|
System.out.println("foo");
|
|
continue;
|
|
}
|
|
System.out.println("bar");
|
|
}
|
|
System.out.println("oops");
|
|
return "";
|
|
}
|
|
} |