Changed LinkedList to ArrayList
All checks were successful
zdm/undo-redo/pipeline/head This commit looks good

This commit is contained in:
Maximilian P. Käfer 2021-12-11 18:09:47 +01:00
parent 4ef3c41251
commit 93e177cc35
Signed by: mpk
GPG Key ID: 035869C949377C5C

View File

@ -10,7 +10,7 @@ import java.util.*;
*/
public final class UnlimitedChangeManager<C extends Change> implements ChangeManager<C> {
private final List<C> changes = new LinkedList<>();
private final List<C> changes = new ArrayList<>();
private int index = -1;
private int markedIndex = -1;