1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Added comment to document why we override MimeMessage.setRecipients()

This commit is contained in:
Bao-Long Nguyen-Trong 2009-06-26 07:03:25 +00:00
parent 6f8c83e8e3
commit c1ec077720

View File

@ -1658,6 +1658,10 @@ public class LocalStore extends Store implements Serializable {
}
}
/*
* For performance reasons, we add headers instead of setting them (see super implementation)
* which removes (expensive) them before adding them
*/
@Override
public void setRecipients(RecipientType type, Address[] addresses) throws MessagingException {
if (type == RecipientType.TO) {