mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
17 lines
409 B
Java
17 lines
409 B
Java
// "Unwrap 'else' branch (changes semantics)" "true"
|
|
|
|
class T {
|
|
void f(boolean b, int n) {
|
|
switch (n) {
|
|
case 1:
|
|
if (b)
|
|
System.out.println("When true");
|
|
// Before
|
|
System.out.println("Otherwise");
|
|
// After
|
|
return;
|
|
case 2:
|
|
}
|
|
System.out.println("Done");
|
|
}
|
|
} |