geronimo-mail_2.1_spec/src/main/java/jakarta/mail/search/RecipientStringTerm.java [37:64]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        this.type = type;
    }

    public Message.RecipientType getRecipientType() {
        return type;
    }

    @Override
    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;
        }
    }

    @Override
    public boolean equals(final Object other) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



geronimo-mail_2.1_spec/src/main/java/jakarta/mail/search/RecipientTerm.java [38:65]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        this.type = type;
    }

    public Message.RecipientType getRecipientType() {
        return type;
    }

    @Override
    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;
        }
    }

    @Override
    public boolean equals(final Object other) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



