src/net/java/sip/communicator/impl/contactlist/MetaContactImpl.java
/**
     * Updates the capabilities for the given contact.
     *
     * @param contact the <tt>Contact</tt>, which capabilities have changed
     * @param opSets the new updated set of operation sets
     */
Updates the capabilities for the given contact.
@param contact the Contact, which capabilities have changed
@param opSets the new updated set of operation sets
Updates the capabilities for the given contact . @param contact the Contact which capabilities have changed @param opSets the new updated set of operation sets
public void updateCapabilities( Contact contact,
                                    Map<String, ? extends OperationSet> opSets)
    {
        OperationSetContactCapabilities capOpSet
            = contact.getProtocolProvider().getOperationSet(
                OperationSetContactCapabilities.class);
        if (capOpSet == null)
            return;
        removeCapabilities(contact, opSets);
        addCapabilities(contact, opSets);
    }
public void updateCapabilities ( Contact contact , Map < String , ? extends OperationSet > opSets ) { OperationSetContactCapabilities capOpSet = contact . getProtocolProvider ( ) . getOperationSet ( OperationSetContactCapabilities . class ) ; if ( capOpSet == null ) return ; removeCapabilities ( contact , opSets ) ; addCapabilities ( contact , opSets ) ; }
Updates the capabilities for the given contact.
Updates the capabilities for the given contact .
// This should not happen, because this method is called explicitly for // events coming from the capabilities operation set.