src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetTelephonyConferencing.java
/**
     * Checks whether two <tt>ConferenceInfoDocument.User</tt> instances
     * match according to the needs of our implementation. Can return
     * <tt>true</tt> for users which are not identical.
     *
     * @param a A <tt>ConferenceInfoDocument.User</tt> to compare
     * @param b A <tt>ConferenceInfoDocument.User</tt> to compare
     * @return <tt>false</tt> if <tt>a</tt> and <tt>b</tt> are found to be
     * different in a way that is significant for our needs, <tt>true</tt>
     * otherwise.
     */
Checks whether two ConferenceInfoDocument.User instances
match according to the needs of our implementation. Can return
true for users which are not identical.

@param a A ConferenceInfoDocument.User to compare
@param b A ConferenceInfoDocument.User to compare
@return false if a and b are found to be
different in a way that is significant for our needs, true
otherwise.
Checks whether two ConferenceInfoDocument . User instances match according to the needs of our implementation . Can return true for users which are not identical . @param a A ConferenceInfoDocument . User to compare @param b A ConferenceInfoDocument . User to compare @return false if a and b are found to be different in a way that is significant for our needs true otherwise .
private boolean usersMatch(
            ConferenceInfoDocument.User a,
            ConferenceInfoDocument.User b)
    {
        if (a == null && b == null)
            return true;
        else if (a == null || b == null)
            return false;
        else if (!stringsMatch(a.getEntity(), b.getEntity()))
            return false;
        else if (!stringsMatch(a.getDisplayText(), b.getDisplayText()))
            return false;
        else if (a.getEndpoints().size() != b.getEndpoints().size())
            return false;
        for (ConferenceInfoDocument.Endpoint aEndpoint : a.getEndpoints())
        {
            if (!endpointsMatch(aEndpoint, b.getEndpoint(aEndpoint.getEntity())))
                return false;
        }
        return true;
    }
private boolean usersMatch ( ConferenceInfoDocument . User a , ConferenceInfoDocument . User b ) { if ( a == null && b == null ) return true ; else if ( a == null || b == null ) return false ; else if ( ! stringsMatch ( a . getEntity ( ) , b . getEntity ( ) ) ) return false ; else if ( ! stringsMatch ( a . getDisplayText ( ) , b . getDisplayText ( ) ) ) return false ; else if ( a . getEndpoints ( ) . size ( ) != b . getEndpoints ( ) . size ( ) ) return false ; for ( ConferenceInfoDocument . Endpoint aEndpoint : a . getEndpoints ( ) ) { if ( ! endpointsMatch ( aEndpoint , b . getEndpoint ( aEndpoint . getEntity ( ) ) ) ) return false ; } return true ; }
Checks whether two <tt>ConferenceInfoDocument.User</tt> instances
 match according to the needs of our implementation.
Checks whether two <tt > ConferenceInfoDocument . User< / tt > instances match according to the needs of our implementation .