/** * Copies the siblings of the given {@code channel} into this instance. */ private void adoptSiblings(Channel channel) { for (Channel newSibling : channel.siblings) { this.addSibling(newSibling); } channel.removeSiblings(); }
/** * Copies the siblings of the given {@code channel} into this instance. */ private void adoptSiblings(Channel channel) { for (Channel newSibling : channel.siblings) { this.addSibling(newSibling); } channel.removeSiblings(); }