src/net/java/sip/communicator/impl/protocol/jabber/OperationSetPersistentPresenceJabberImpl.java
/**
     * Removes the resource indicated by the fullJid from the list with
     * resources for the contact.
     * @param contact from its list of resources to remove
     * @param fullJid the full jid.
     * @return whether resource has been updated
     */
Removes the resource indicated by the fullJid from the list with
resources for the contact.
@param contact from its list of resources to remove
@param fullJid the full jid.
@return whether resource has been updated
Removes the resource indicated by the fullJid from the list with resources for the contact . @param contact from its list of resources to remove @param fullJid the full jid . @return whether resource has been updated
private boolean removeResource(ContactJabberImpl contact, FullJid fullJid)
    {
        Map<FullJid, ContactResourceJabberImpl> resources =
            contact.getResourcesMap();
        if (resources.containsKey(fullJid))
        {
            ContactResource removedResource = resources.remove(fullJid);
            contact.fireContactResourceEvent(
                new ContactResourceEvent(contact, removedResource,
                    ContactResourceEvent.RESOURCE_REMOVED));
            return true;
        }
        return false;
    }
private boolean removeResource ( ContactJabberImpl contact , FullJid fullJid ) { Map < FullJid , ContactResourceJabberImpl > resources = contact . getResourcesMap ( ) ; if ( resources . containsKey ( fullJid ) ) { ContactResource removedResource = resources . remove ( fullJid ) ; contact . fireContactResourceEvent ( new ContactResourceEvent ( contact , removedResource , ContactResourceEvent . RESOURCE_REMOVED ) ) ; return true ; } return false ; }
Removes the resource indicated by the fullJid from the list with
 resources for the contact.
Removes the resource indicated by the fullJid from the list with resources for the contact .