mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
24 lines
423 B
Java
24 lines
423 B
Java
import java.util.List;
|
|
|
|
class C {
|
|
List<String> x;
|
|
List<String> y;
|
|
|
|
private void foo() {
|
|
<selection>
|
|
if (x.isEmpty()) return;
|
|
x.remove(0);
|
|
y.add(str());
|
|
baz();</selection>
|
|
}
|
|
|
|
private void bar() {
|
|
if (y.isEmpty()) return;
|
|
y.remove(0);
|
|
x.add(str());
|
|
baz();
|
|
}
|
|
|
|
private void baz() { }
|
|
private String str() { return null; }
|
|
} |