mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 07:50:55 +07:00
16 lines
220 B
Java
16 lines
220 B
Java
// "Swap 'if' statements" "true-preview"
|
|
class A {
|
|
|
|
void m() {
|
|
|
|
if (otherCondition) {
|
|
doAnotherAction();
|
|
} else if (someCondition) {
|
|
doSomeAction();
|
|
} else {
|
|
defaultAction();
|
|
}
|
|
|
|
}
|
|
|
|
} |