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