228229230231232233234235236237238
Set<Object> result = new HashSet<Object>(); Iterator<mxUndoableChange> it = changes.iterator(); while (it.hasNext()) { mxUndoableChange change = it.next(); if (change instanceof mxRootChange) { return new HashSet<Object>(); }