rem: if (this.locked) 
add: if (this.isLocked()) 
context:     processQueue: function ()    {        if (this.locked)            return;        var a;        var hasItems = this.queue.length;        while ((a = this.queue.shift())) {            switch (a.action) {                case 'add':                    this.mMemoryCalendar.addItem(a.item, a.listener);                    break;                case 'modify':                    this.mMemoryCalendar.modifyItem(a.newItem, a.oldItem,                                                    a.listener);                    break;                case 'delete':                    this.mMemoryCalendar.deleteItem(a.item, a.listener);                    break;            }        }        if (hasItems)            this.writeICS();    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0defd389125b4b1ab8c53a084d478f9dd695fe02/calICSCalendar.js/buggy/calendar/providers/ics/calICSCalendar.js