removes.add(move.oldNode);
} else {
// Completed the move.
completedMoves.add(move);
// Update the edit session key to retain identity.
TreeNodeInfoImpl newNode = (TreeNodeInfoImpl) move.newNode;
newNode.setFileEditSessionKey(move.oldNode.getFileEditSessionKey());
resourceIdToNode.put(newNode.getFileEditSessionKey(), move.newNode);
}
}
}
this.drainPendingTreeMutationAcks();