base/common/src/main/com/thesett/common/util/UndoStackBase.java
public void restore()
    {
        boolean foundSavePoint = false;

        while (!foundSavePoint && !undoStack.isEmpty())
        {
            Undoable undoable = undoStack.poll();
            undoable.undo();

            foundSavePoint = (undoable instanceof SavePoint);
        }
    }
public void restore()
    {
        boolean foundSavePoint = false;

        while (!foundSavePoint && !undoStack.isEmpty())
        {
            Undoable undoable = undoStack.poll();
            undoable.undo();

            foundSavePoint = (undoable instanceof SavePoint);
        }
    }
{@inheritDoc}