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