diff --git a/base/src/main/java/de/staropensource/sosengine/base/types/immutable/ImmutableLinkedList.java b/base/src/main/java/de/staropensource/sosengine/base/types/immutable/ImmutableLinkedList.java index b335dd14..66566003 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/types/immutable/ImmutableLinkedList.java +++ b/base/src/main/java/de/staropensource/sosengine/base/types/immutable/ImmutableLinkedList.java @@ -49,7 +49,7 @@ public class ImmutableLinkedList extends LinkedList { * @since 1-alpha1 */ public ImmutableLinkedList(@NotNull List list) { - super.addAll(list); + super.addAll(size(), list); } /**