Merge fix

This commit is contained in:
Oleg Agafonov 2023-11-07 02:54:23 +04:00
parent ddc1ec8ef8
commit 202f4b5112

View file

@ -25,11 +25,11 @@ public class Targets extends ArrayList<Target> implements Copyable<Targets> {
}
protected Targets(final Targets targets) {
this.isReadOnly = targets.isReadOnly;
this.ensureCapacity(targets.size());
for (Target target : targets) {
this.add(target.copy());
}
this.isReadOnly = targets.isReadOnly;
}
public Targets withReadOnly() {