[sc1.0-cvs] CVS update: /sip-communicator-1-0-draft/src/net/java/sip/communicator/impl/protocol/icq/

yanas at dev.java.net yanas at dev.java.net
Mon Feb 27 18:29:41 CET 2006


User: yanas   
Date: 2006/02/27 09:29:41

Log:
 init the opersation set and protocol provider  before adding listeners

File Changes:

Directory: /sip-communicator-1-0-draft/src/net/java/sip/communicator/impl/protocol/icq/
=======================================================================================

File [changed]: ServerStoredContactListIcqImpl.java
Url: https://sip-communicator-1-0-draft.dev.java.net/source/browse/sip-communicator-1-0-draft/src/net/java/sip/communicator/impl/protocol/icq/ServerStoredContactListIcqImpl.java?r1=1.3&r2=1.4
Delta lines:  +8 -6
-------------------
--- ServerStoredContactListIcqImpl.java	5 Feb 2006 13:15:06 -0000	1.3
+++ ServerStoredContactListIcqImpl.java	27 Feb 2006 17:29:38 -0000	1.4
@@ -440,18 +440,20 @@
      */
     void init(  SsiService joustSimSsiService,
                 OperationSetPersistentPresenceIcqImpl parentOperationSet,
+        
                 ProtocolProviderServiceIcqImpl icqProvider)
     {
+        //We need to keep this on top to ensure that the provider 
+        //and the operationsset would not be null in the incoming events.  
+        this.parentOperationSet = parentOperationSet;
+        
+        this.icqProvider = icqProvider;
+        
         this.jSimSsiService = joustSimSsiService;
         jSimSsiService.addItemChangeListener(jsimItemChangeListener);
 
         this.buddyList = jSimSsiService.getBuddyList();
         buddyList.addRetroactiveLayoutListener(buddyListListener);
-
-        this.parentOperationSet = parentOperationSet;
-
-        this.icqProvider = icqProvider;
-
     }
 
     private class BuddyListListener




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at sip-communicator-1-0-draft.dev.java.net
For additional commands, e-mail: cvs-help at sip-communicator-1-0-draft.dev.java.net





More information about the commits mailing list