rem: if (aItem.id == null || this.mItems[aItem.id] == null || aItem.parent != this) { 
add: if (aItem.id == null || this.mItems[aItem.id] == null) { 
context:     deleteItem: function (aItem, aListener) {        if (aItem.id == null || this.mItems[aItem.id] == null || aItem.parent != this) {            if (aListener)                aListener.onOperationComplete (this,                                               Components.results.NS_ERROR_FAILURE,                                               aListener.DELETE,                                               aId,                                               "ID is null or is from different calendar in deleteItem");            return;        }        var oldItem = this.mItems[aItem.id];        if (oldItem.generation != aItem.generation) {            if (aListener)                aListener.onOperationComplete (this,                                               Components.results.NS_ERROR_FAILURE,                                               aListener.DELETE,                                               aId,                                               "generation mismatch in deleteItem");            return;        }        delete this.mItems[aItem.id];        if (aListener)            aListener.onOperationComplete (this,                                           Components.results.NS_OK,                                           aListener.DELETE,                                           aId,                                           null);        // notify observers        observeDeleteItem(oldItem);    },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/30c6c1d746a5f7ba2299daad7066e42187bb1d6d/calMemoryCalendar.js/buggy/calendar/providers/memory/calMemoryCalendar.js