src/net/java/sip/communicator/service/protocol/AbstractCallPeer.java
/**
     * Implements
     * <tt>CallPeer#addCallPeerConferenceListener(
     * CallPeerConferenceListener)</tt>. In the fashion of the addition of the
     * other listeners, does not throw an exception on attempting to add a
     * <tt>null</tt> listeners and just ignores the call.
     *
     * @param listener the <tt>CallPeerConferenceListener</tt> to add
     */


@param listener the CallPeerConferenceListener to add
@param listener the CallPeerConferenceListener to add
public void addCallPeerConferenceListener(
        CallPeerConferenceListener listener)
    {
        if (listener != null)
            synchronized (callPeerConferenceListeners)
            {
                if (!callPeerConferenceListeners.contains(listener))
                    callPeerConferenceListeners.add(listener);
            }
    }
public void addCallPeerConferenceListener ( CallPeerConferenceListener listener ) { if ( listener != null ) synchronized ( callPeerConferenceListeners ) { if ( ! callPeerConferenceListeners . contains ( listener ) ) callPeerConferenceListeners . add ( listener ) ; } }
Implements
 <tt>CallPeer#addCallPeerConferenceListener(
 CallPeerConferenceListener)</tt>.
Implements <tt > CallPeer#addCallPeerConferenceListener ( CallPeerConferenceListener ) < / tt > .