ListIterator li = changeEvents.listIterator(changeEvents.size());
List xpaths = Collections.EMPTY_LIST;
while (li.hasPrevious()) {
ODOMChangeEvent changeEvent = (ODOMChangeEvent) li.previous();
XPath xpath = changeEvent.undo();
xpaths = addIfNotNullAndNotAlreadyContained(xpath, xpaths);
}
return new UndoRedoInfo(xpaths, undoRedoMemento);
}