Changed LinkedList to ArrayList
zdm/undo-redo/pipeline/head This commit looks good Details

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
1 changed files with 1 additions and 1 deletions

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;