Iterator it = changeList.iterator();
while (it.hasNext()) {
Object propEntry = it.next();
if (propEntry instanceof DavPropertyName) {
// use the internal remove method in order to prevent premature 'save'
DavPropertyName propName = (DavPropertyName) propEntry;
internalRemoveProperty(propName);
} else if (propEntry instanceof DavProperty) {
// use the internal set method in order to prevent premature 'save'
DavProperty prop = (DavProperty) propEntry;
internalSetProperty(prop);