From 93e177cc35941c5627d8174dae159540a1922327 Mon Sep 17 00:00:00 2001 From: DieGurke Date: Sat, 11 Dec 2021 18:09:47 +0100 Subject: [PATCH] Changed LinkedList to ArrayList --- .../src/main/java/dev/kske/undoredo/UnlimitedChangeManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/dev/kske/undoredo/UnlimitedChangeManager.java b/core/src/main/java/dev/kske/undoredo/UnlimitedChangeManager.java index d927ee7..db958ac 100644 --- a/core/src/main/java/dev/kske/undoredo/UnlimitedChangeManager.java +++ b/core/src/main/java/dev/kske/undoredo/UnlimitedChangeManager.java @@ -10,7 +10,7 @@ import java.util.*; */ public final class UnlimitedChangeManager implements ChangeManager { - private final List changes = new LinkedList<>(); + private final List changes = new ArrayList<>(); private int index = -1; private int markedIndex = -1;