From 9aba2e6281ad4ef8b0cb7e4abfbcb8f2870c069d Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Mon, 8 Jul 2024 14:26:25 +0200 Subject: [PATCH] Fix ImmutableLinkedList constructor --- .../sosengine/base/types/immutable/ImmutableLinkedList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /**