rem: var ret;   if (calId == null /*|| this.userId == calId*/) { if (this.m_defaultCalendar == null) { this.m_defaultCalendar = createWcapCalendar( null/*this.userId*/, this); } ret = this.m_defaultCalendar; } else { var key = encodeURIComponent(calId); ret = this.m_calIdToCalendar[key]; if (!ret) { ret = createWcapCalendar(calId, this); this.m_calIdToCalendar[key] = ret; } } return ret; 
add: return this.getCalendarByCalId_(calId, true/*bCreate*/); 
context:     getCalendarByCalId:    function( calId )    {        var ret;        // xxx todo: for now the default calendar (calId=null)        //           is separated (own instance) from subscribed calendars        if (calId == null /*|| this.userId == calId*/) {            if (this.m_defaultCalendar == null) {                this.m_defaultCalendar = createWcapCalendar(                    null/*this.userId*/, this);            }            ret = this.m_defaultCalendar;        }        else {            var key = encodeURIComponent(calId);            ret = this.m_calIdToCalendar[key];            if (!ret) {                ret = createWcapCalendar(calId, this);                this.m_calIdToCalendar[key] = ret;            }        }        return ret;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ebe8d4a76407f9bea23ef37283e4d80e1b4c2aee/calWcapSession.js/buggy/calendar/providers/wcap/calWcapSession.js