mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
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);
|
|
}
|
|
|
|
}
|
|
|
|
} |