aTalk/src/main/java/net/java/sip/communicator/service/protocol/CallConference.java
/**
     * Determines whether a <tt>CallConference</tt> is to report the local peer/user as a conference
     * focus judging by a specific list of <tt>Call</tt>s.
     *
     * @param calls the list of <tt>Call</tt> which are to be judged whether the local peer/user that they
     * represent is to be considered as a conference focus
     * @return <tt>true</tt> if the local peer/user represented by the specified <tt>calls</tt> is
     * judged to be a conference focus; otherwise, <tt>false</tt>
     */
Determines whether a CallConference is to report the local peer/user as a conference
focus judging by a specific list of Calls.

@param calls the list of Call which are to be judged whether the local peer/user that they
represent is to be considered as a conference focus
@return true if the local peer/user represented by the specified calls is
judged to be a conference focus; otherwise, false
Determines whether a CallConference is to report the local peer / user as a conference focus judging by a specific list of Calls . @param calls the list of Call which are to be judged whether the local peer / user that they represent is to be considered as a conference focus @return true if the local peer / user represented by the specified calls is judged to be a conference focus ; otherwise false
private static boolean isConferenceFocus(List<Call> calls)
    {
        int callCount = calls.size();
        boolean conferenceFocus;
        if (callCount < 1)
            conferenceFocus = false;
        else if (callCount > 1)
            conferenceFocus = true;
        else
            conferenceFocus = (calls.get(0).getCallPeerCount() > 1);
        return conferenceFocus;
    }
private static boolean isConferenceFocus ( List < Call > calls ) { int callCount = calls . size ( ) ; boolean conferenceFocus ; if ( callCount < 1 ) conferenceFocus = false ; else if ( callCount > 1 ) conferenceFocus = true ; else conferenceFocus = ( calls . get ( 0 ) . getCallPeerCount ( ) > 1 ) ; return conferenceFocus ; }
Determines whether a <tt>CallConference</tt> is to report the local peer/user as a conference
 focus judging by a specific list of <tt>Call</tt>s.
Determines whether a <tt > CallConference< / tt > is to report the local peer / user as a conference focus judging by a specific list of <tt > Call< / tt > s .