src/net/java/sip/communicator/impl/protocol/jabber/OperationSetPersistentPresenceJabberImpl.java
/**
     * Returns a reference to the contact with the specified ID in case we
     * have a subscription for it and null otherwise/
     *
     * @param contactID a String identifier of the contact which we're
     *   seeking a reference of.
     * @return a reference to the Contact with the specified
     *   <tt>contactID</tt> or null if we don't have a subscription for the
     *   that identifier.
     */
Returns a reference to the contact with the specified ID in case we
have a subscription for it and null otherwise

@param contactID a String identifier of the contact which we're
seeking a reference of.
@return a reference to the Contact with the specified
contactID or null if we don't have a subscription for the
that identifier.
Returns a reference to the contact with the specified ID in case we have a subscription for it and null otherwise @param contactID a String identifier of the contact which we ' re seeking a reference of . @return a reference to the Contact with the specified contactID or null if we don ' t have a subscription for the that identifier .
public Contact findContactByID(String contactID)
    {
        try
        {
            return ssContactList.findContactById(JidCreate.from(contactID));
        }
        catch (XmppStringprepException e)
        {
            logger.error("Could not parse contact into Jid: " + contactID, e);
            return null;
        }
    }
public Contact findContactByID ( String contactID ) { try { return ssContactList . findContactById ( JidCreate . from ( contactID ) ) ; } catch ( XmppStringprepException e ) { logger . error ( "Could not parse contact into Jid: " + contactID , e ) ; return null ; } }
Returns a reference to the contact with the specified ID in case we
 have a subscription for it and null otherwise
Returns a reference to the contact with the specified ID in case we have a subscription for it and null otherwise