mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-31 17:45:48 +07:00
GitOrigin-RevId: 1cad4232ba1d1f58c522aa26019d245e2bf6832d
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() {}
|
|
} |