for (int i = 0; i < event.getCompletedObjects().length; i++) {
S3Object objectWithDetails = event.getCompletedObjects()[i];
S3Object originalObject = objectTableModel.getObjectByKey(
objectWithDetails.getKey());
originalObject.replaceAllMetadata(objectWithDetails.getMetadataMap());
originalObject.setMetadataComplete(true);
log.debug("Updated table with " + originalObject.getKey()
+ ", content-type=" + originalObject.getContentType());
}
}