Changed LinkedList to ArrayList
All checks were successful
zdm/undo-redo/pipeline/head This commit looks good
All checks were successful
zdm/undo-redo/pipeline/head This commit looks good
This commit is contained in:
parent
4ef3c41251
commit
93e177cc35
@ -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;
|
||||
|
Reference in New Issue
Block a user