geronimo-mail_2.1_spec/src/main/java/jakarta/mail/search/RecipientTerm.java [46:62]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public boolean match(final Message message) {
        try {
            final Address from[] = message.getRecipients(type);
            if (from == null) {
                return false; 
            }
            for (int i = 0; i < from.length; i++) {
                final Address address = from[i];
                if (match(address)) {
                    return true;
                }
            }
            return false;
        } catch (final MessagingException e) {
            return false;
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



geronimo-mail_2.1_spec/src/main/java/jakarta/mail/search/RecipientStringTerm.java [45:61]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public boolean match(final Message message) {
        try {
            final Address from[] = message.getRecipients(type);
            if (from == null) {
                return false; 
            }
            for (int i = 0; i < from.length; i++) {
                final Address address = from[i];
                if (match(address)) {
                    return true;
                }
            }
            return false;
        } catch (final MessagingException e) {
            return false;
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



