mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Added comment to document why we override MimeMessage.setRecipients()
This commit is contained in:
parent
6f8c83e8e3
commit
c1ec077720
@ -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
|
@Override
|
||||||
public void setRecipients(RecipientType type, Address[] addresses) throws MessagingException {
|
public void setRecipients(RecipientType type, Address[] addresses) throws MessagingException {
|
||||||
if (type == RecipientType.TO) {
|
if (type == RecipientType.TO) {
|
||||||
|
Loading…
Reference in New Issue
Block a user