mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
17 lines
211 B
Java
17 lines
211 B
Java
// "Extract common part from 'if'" "INFORMATION"
|
|
|
|
class X {
|
|
void foo() {
|
|
if (true) {
|
|
another(1);
|
|
}
|
|
else {
|
|
another(2);
|
|
}
|
|
bar();
|
|
}
|
|
|
|
void another(int i) {}
|
|
|
|
void bar() {}
|
|
} |