mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 09:50:57 +07:00
17 lines
324 B
Java
17 lines
324 B
Java
// "Unwrap 'switch'" "false"
|
|
class X {
|
|
String test(char c) {
|
|
for(int i=0; i<10; i++) {
|
|
s<caret>witch (c){
|
|
default:
|
|
if (c == 'a') {
|
|
System.out.println("foo");
|
|
break;
|
|
}
|
|
System.out.println("bar");
|
|
}
|
|
System.out.println("oops");
|
|
}
|
|
return "";
|
|
}
|
|
} |