src/net/java/sip/communicator/impl/protocol/jabber/ActiveCallsRepositoryJabberImpl.java
/**
     * Returns the {@link CallJabberImpl} containing a {@link
     * CallPeerJabberImpl} whose corresponding jingle session has the specified
     * jingle <tt>sid</tt>.
     *
     * @param sid the jingle <tt>sid</tt> we're looking for.
     *
     * @return the {@link CallJabberImpl} containing the peer with the
     * specified <tt>sid</tt> or <tt>null</tt> if we couldn't find one matching
     * it.
     */
Returns the  CallJabberImpl containing a {@link
CallPeerJabberImpl} whose corresponding jingle session has the specified
jingle sid.

@param sid the jingle sid we're looking for.

@return the  CallJabberImpl containing the peer with the
specified sid or null if we couldn't find one matching
it.
Returns the CallJabberImpl containing a { @link CallPeerJabberImpl } whose corresponding jingle session has the specified jingle sid . @param sid the jingle sid we ' re looking for . @return the CallJabberImpl containing the peer with the specified sid or null if we couldn ' t find one matching it .
public CallJabberImpl findSID(String sid)
    {
        Iterator<CallJabberImpl> calls = getActiveCalls();
        while (calls.hasNext())
        {
            CallJabberImpl call = calls.next();
            if (call.containsSID(sid))
                return call;
        }
        return null;
    }
public CallJabberImpl findSID ( String sid ) { Iterator < CallJabberImpl > calls = getActiveCalls ( ) ; while ( calls . hasNext ( ) ) { CallJabberImpl call = calls . next ( ) ; if ( call . containsSID ( sid ) ) return call ; } return null ; }
Returns the {@link CallJabberImpl} containing a {@link
 CallPeerJabberImpl} whose corresponding jingle session has the specified
 jingle <tt>sid</tt>.
Returns the { @link CallJabberImpl } containing a { @link CallPeerJabberImpl } whose corresponding jingle session has the specified jingle <tt > sid< / tt > .