src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetTelephonyConferencing.java
/**
     * Checks whether two <tt>ConferenceInfoDocument.Media</tt> instances
     * match according to the needs of our implementation. Can return
     * <tt>true</tt> for endpoints which are not identical.
     *
     * @param a A <tt>ConferenceInfoDocument.Media</tt> to compare
     * @param b A <tt>ConferenceInfoDocument.Media</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.Media instances
match according to the needs of our implementation. Can return
true for endpoints which are not identical.

@param a A ConferenceInfoDocument.Media to compare
@param b A ConferenceInfoDocument.Media 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 . Media instances match according to the needs of our implementation . Can return true for endpoints which are not identical . @param a A ConferenceInfoDocument . Media to compare @param b A ConferenceInfoDocument . Media 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 mediasMatch(
            ConferenceInfoDocument.Media a,
            ConferenceInfoDocument.Media b)
    {
        if (a == null && b == null)
            return true;
        else if (a == null || b == null)
            return false;
        else if (!stringsMatch(a.getId(), b.getId()))
            return false;
        else if (!stringsMatch(a.getSrcId(), b.getSrcId()))
            return false;
        else if (!stringsMatch(a.getType(), b.getType()))
            return false;
        else if (!stringsMatch(a.getStatus(), b.getStatus()))
            return false;
        return true;
    }
private boolean mediasMatch ( ConferenceInfoDocument . Media a , ConferenceInfoDocument . Media b ) { if ( a == null && b == null ) return true ; else if ( a == null || b == null ) return false ; else if ( ! stringsMatch ( a . getId ( ) , b . getId ( ) ) ) return false ; else if ( ! stringsMatch ( a . getSrcId ( ) , b . getSrcId ( ) ) ) return false ; else if ( ! stringsMatch ( a . getType ( ) , b . getType ( ) ) ) return false ; else if ( ! stringsMatch ( a . getStatus ( ) , b . getStatus ( ) ) ) return false ; return true ; }
Checks whether two <tt>ConferenceInfoDocument.Media</tt> instances
 match according to the needs of our implementation.
Checks whether two <tt > ConferenceInfoDocument . Media< / tt > instances match according to the needs of our implementation .