Property.oldCommandHistory, oldCommandsArray.toString());
}
CommandHistoryUtil historyUtil = new CommandHistoryUtil(history.getCommandsFromWorksheetId(worksheetId), workspace, worksheetId);
historyUtil.consolidateHistory();
if (!oldCommands.equals(historyUtil.getCommands())) {
uc.append(historyUtil.replayHistory());
uc.removeUpdateByClass(HistoryAddCommandUpdate.class);
uc.removeUpdateByClass(InfoUpdate.class);
uc.removeUpdateByClass(ErrorUpdate.class);
historyUtil.consolidateHistory();
uc.add(new HistoryUpdate(workspace.getCommandHistory()));