Rename method for consistency

This commit is contained in:
cketti 2016-07-06 21:25:20 +02:00
parent 202595c605
commit 1d471a8633
2 changed files with 2 additions and 2 deletions

View file

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

View file

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