src/net/java/sip/communicator/impl/protocol/jabber/OperationSetPersistentPresenceJabberImpl.java
/**
     * Clear resources used for local contact and before that update its
     * resources in order to fire the needed events.
     */
Clear resources used for local contact and before that update its
resources in order to fire the needed events.
Clear resources used for local contact and before that update its resources in order to fire the needed events .
private void clearLocalContactResources()
    {
        if(localContact != null)
        {
            removeResource(
                localContact,
                localContact
                    .getAddressAsJid()
                    .asFullJidIfPossible());
        }
        currentPresence = null;
        localContact = null;
    }
private void clearLocalContactResources ( ) { if ( localContact != null ) { removeResource ( localContact , localContact . getAddressAsJid ( ) . asFullJidIfPossible ( ) ) ; } currentPresence = null ; localContact = null ; }
Clear resources used for local contact and before that update its
 resources in order to fire the needed events.
Clear resources used for local contact and before that update its resources in order to fire the needed events .