mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
20 lines
317 B
Java
20 lines
317 B
Java
// "Swap 'if' statements" "true-preview"
|
|
class A {
|
|
|
|
void m() {
|
|
|
|
if (a) {
|
|
System.out.println(1);
|
|
} else if (b) {
|
|
System.out.println(2);
|
|
} el<caret>se if (c) {
|
|
System.out.println(3);
|
|
} else if (d) {
|
|
System.out.println(4);
|
|
} else {
|
|
System.out.println(5);
|
|
}
|
|
|
|
}
|
|
|
|
} |