mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
17 lines
401 B
Java
17 lines
401 B
Java
// "Unwrap 'else' branch (changes semantics)" "true"
|
|
|
|
class T {
|
|
void f(boolean a, boolean b) {
|
|
if (a) {
|
|
Label:
|
|
{
|
|
if (b)
|
|
System.out.println("When true");
|
|
<caret>else {
|
|
throw new RuntimeException("Otherwise");
|
|
}
|
|
}
|
|
}
|
|
System.out.println("Done");
|
|
}
|
|
} |