src/net/java/sip/communicator/impl/protocol/jabber/ScServiceDiscoveryManager.java
/**
     * Add a record telling what entity caps node a user has.
     * @param user the user (Full JID)
     * @param node the node (of the caps packet extension)
     * @param ver the version (of the caps packet extension)
     */
Add a record telling what entity caps node a user has.
@param user the user (Full JID)
@param node the node (of the caps packet extension)
@param ver the version (of the caps packet extension)
Add a record telling what entity caps node a user has . @param user the user ( Full JID ) @param node the node ( of the caps packet extension ) @param ver the version ( of the caps packet extension )
private void addUserCapsNode(Jid user,
                                 String node,
                                 String ver)
    {
        if (user != null
            && node != null
            && ver != null)
        {
            String nodeVer= userCaps.get(user);
            if (nodeVer == null
                || !nodeVer.equals(node + "#" + ver))
            {
                nodeVer = node + "#" + ver;
                userCaps.put(user, nodeVer);
            }
            else
                return;
            fireUserCapsNodeEvent(true, user, nodeVer);
        }
    }
private void addUserCapsNode ( Jid user , String node , String ver ) { if ( user != null && node != null && ver != null ) { String nodeVer = userCaps . get ( user ) ; if ( nodeVer == null || ! nodeVer . equals ( node + "#" + ver ) ) { nodeVer = node + "#" + ver ; userCaps . put ( user , nodeVer ) ; } else return ; fireUserCapsNodeEvent ( true , user , nodeVer ) ; } }
Add a record telling what entity caps node a user has.
Add a record telling what entity caps node a user has .