rem: if (this.mDefaultCalendar == null) { this.mDefaultCalendar = aCalendar; this.observeDefaultCalendarChanged(aCalendar); } 
add: if (this.mDefaultCalendar == null) this.setDefaultCalendar(aCalendar, false); 
context:     addCalendar: function (aCalendar) {        // check if the calendar already exists        for each (cal in this.mCalendars) {            if (aCalendar.uri.equals(cal.uri)) {                // throw exception if calendar already exists?                return;            }        }        // add our observer helper        aCalendar.addObserver(this.mObserverHelper);        this.mCalendars.push(aCalendar);        this.observeCalendarAdded(aCalendar);        // if we have no default calendar, we need one here        if (this.mDefaultCalendar == null) {            this.mDefaultCalendar = aCalendar;            this.observeDefaultCalendarChanged(aCalendar);        }    },
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/8b05923a158c54d8707abcf10b0aaf728fac322a/calCompositeCalendar.js/clean/calendar/providers/composite/calCompositeCalendar.js