src/net/java/sip/communicator/impl/protocol/jabber/ActiveCallsRepositoryJabberImpl.java
/**
     * Returns the <tt>Call</tt> with ID equal to <tt>callid</tt>.
     *
     * @param callid the ID to search for
     * @return the <tt>Call</tt> with ID equal to <tt>callid</tt>.
     */
Returns the Call with ID equal to callid.
@param callid the ID to search for
@return the Call with ID equal to callid.
Returns the Call with ID equal to callid . @param callid the ID to search for @return the Call with ID equal to callid .
public CallJabberImpl findCallId(String callid)
    {
        Iterator<CallJabberImpl> calls = getActiveCalls();
        while (calls.hasNext())
        {
            CallJabberImpl call = calls.next();
            if (call.getCallID().equals(callid))
                return call;
        }
        return null;
    }
public CallJabberImpl findCallId ( String callid ) { Iterator < CallJabberImpl > calls = getActiveCalls ( ) ; while ( calls . hasNext ( ) ) { CallJabberImpl call = calls . next ( ) ; if ( call . getCallID ( ) . equals ( callid ) ) return call ; } return null ; }
Returns the <tt>Call</tt> with ID equal to <tt>callid</tt>.
Returns the <tt > Call< / tt > with ID equal to <tt > callid< / tt > .