OneEventCollection oldEvents = new OneEventCollection();
for (Map.Entry<EventBean, EventBean> oldEvent : newToOldEventMap.entrySet()) {
oldEvents.add(oldEvent.getValue());
}
if (!oldEvents.isEmpty()) {
updateChildren(null, oldEvents.toArray());
}
newToOldEventMap.clear();
}
}