Refactoring.

cusax-fix
Emil Ivov 20 years ago
parent 957ed3fa96
commit 084ce0357c

@ -1,4 +1,3 @@
/*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
@ -62,8 +61,7 @@ public class ServerStoredContactListIcqImpl
/**
* The root contagroup. The container for all ICQ buddies and groups.
*/
private RootContactGroupIcqImpl rootGroup
= new RootContactGroupIcqImpl();
private RootContactGroupIcqImpl rootGroup;
/**
* Listeners that others registered with us for contact list events.
@ -440,18 +438,20 @@ public void moveContact(ContactIcqImpl contact,
*/
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.
//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.rootGroup = new RootContactGroupIcqImpl(icqProvider);
this.jSimSsiService = joustSimSsiService;
jSimSsiService.addItemChangeListener(jsimItemChangeListener);
this.buddyList = jSimSsiService.getBuddyList();
buddyList.addRetroactiveLayoutListener(buddyListListener);
}

Loading…
Cancel
Save