rem: set uri( thatUri ) { if (this.m_uri == null || thatUri == null || !this.m_uri.equals(thatUri)) { this.logout(); this.m_uri = null; if (thatUri != null) {  var username = decodeURIComponent( thatUri.username ); if (username != "") { this.m_defaultCalId = username; var nColon = username.indexOf(':'); this.m_userId = (nColon >= 0 ? username.substr(0, nColon) : username); } this.m_uri = thatUri.clone(); this.log( "setting uri to " + this.uri.spec ); } } 
add: set defaultCalendar(cal) { this.m_defaultCalendar = cal; 
context:     set uri( thatUri )    {        if (this.m_uri == null || thatUri == null ||            !this.m_uri.equals(thatUri))        {            this.logout();            this.m_uri = null;            if (thatUri != null) {                // sensible default for user id login:                var username = decodeURIComponent( thatUri.username );                if (username != "") {                    this.m_defaultCalId = username;                    var nColon = username.indexOf(':');                    this.m_userId = (nColon >= 0                                     ? username.substr(0, nColon) : username);                }                this.m_uri = thatUri.clone();                this.log( "setting uri to " + this.uri.spec );            }        }    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c4f9cdeaecfeac45209d141d619bb5c7eb3827b4/calWcapSession.js/buggy/calendar/providers/wcap/calWcapSession.js