Fix ImmutableLinkedList constructor
This commit is contained in:
parent
4d462d65f4
commit
9aba2e6281
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ public class ImmutableLinkedList<E> extends LinkedList<E> {
|
|||
* @since 1-alpha1
|
||||
*/
|
||||
public ImmutableLinkedList(@NotNull List<E> list) {
|
||||
super.addAll(list);
|
||||
super.addAll(size(), list);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue