mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 21:20:54 +07:00
12 lines
243 B
Java
12 lines
243 B
Java
// "Unwrap 'else' branch (changes semantics)" "true"
|
|
|
|
class T {
|
|
void f(boolean b) {
|
|
if (b) {
|
|
System.out.println("When true");
|
|
}
|
|
// Before
|
|
System.out.println("Otherwise");
|
|
// After
|
|
}
|
|
} |