Changed LinkedList to ArrayList
zdm/undo-redo/pipeline/head This commit looks good
Details
zdm/undo-redo/pipeline/head This commit looks good
Details
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