Rename method for consistency
This commit is contained in:
parent
202595c605
commit
1d471a8633
2 changed files with 2 additions and 2 deletions
|
@ -4318,7 +4318,7 @@ public class MessagingController implements Runnable {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (account.isNotifyContactsMailOnly() && !contacts.containsContact(message.getFrom())) {
|
if (account.isNotifyContactsMailOnly() && !contacts.isAnyInContacts(message.getFrom())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -148,7 +148,7 @@ public class Contacts {
|
||||||
* @return <tt>true</tt>, if one address belongs to a contact.
|
* @return <tt>true</tt>, if one address belongs to a contact.
|
||||||
* <tt>false</tt>, otherwise.
|
* <tt>false</tt>, otherwise.
|
||||||
*/
|
*/
|
||||||
public boolean containsContact(final Address[] addresses) {
|
public boolean isAnyInContacts(final Address[] addresses) {
|
||||||
if (addresses == null) {
|
if (addresses == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue