src/net/java/sip/communicator/impl/contactlist/MetaContactImpl.java
/**
     * Queries a specific protocol <tt>Contact</tt> for its avatar. Beware that
     * this method could cause multiple network operations. Use with caution.
     *
     * @param contact the protocol <tt>Contact</tt> to query for its avatar
     * @return an array of <tt>byte</tt>s representing the avatar returned by
     * the specified <tt>Contact</tt> or <tt>null</tt> if the specified
     * <tt>Contact</tt> did not or failed to return an avatar
     */
Queries a specific protocol Contact for its avatar. Beware that
this method could cause multiple network operations. Use with caution.

@param contact the protocol Contact to query for its avatar
@return an array of bytes representing the avatar returned by
the specified Contact or null if the specified
Contact did not or failed to return an avatar
Queries a specific protocol Contact for its avatar . Beware that this method could cause multiple network operations . Use with caution . @param contact the protocol Contact to query for its avatar @return an array of bytes representing the avatar returned by the specified Contact or null if the specified Contact did not or failed to return an avatar
private byte[] queryProtoContactAvatar(Contact contact)
    {
        try
        {
            byte[] contactImage = contact.getImage();
            if ((contactImage != null) && (contactImage.length > 0))
                return contactImage;
        }
        catch (Exception ex)
        {
            logger.error("Failed to get the photo of contact " + contact, ex);
        }
        return null;
    }
private byte [ ] queryProtoContactAvatar ( Contact contact ) { try { byte [ ] contactImage = contact . getImage ( ) ; if ( ( contactImage != null ) && ( contactImage . length > 0 ) ) return contactImage ; } catch ( Exception ex ) { logger . error ( "Failed to get the photo of contact " + contact , ex ) ; } return null ; }
Queries a specific protocol <tt>Contact</tt> for its avatar.
Queries a specific protocol <tt > Contact< / tt > for its avatar .