Fix ImmutableLinkedList constructor

This commit is contained in:
JeremyStar™ 2024-07-08 14:26:25 +02:00
parent 4d462d65f4
commit 9aba2e6281
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -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);
}
/**