Renamed methods in metacontactlist classes for better intuitivity

cusax-fix
Emil Ivov 20 years ago
parent 9310576584
commit 9dae9ae07c

@ -212,8 +212,8 @@ private ContactNode contains( ContactNode parentNode,
MetaContact currentContact = (MetaContact)node.getUserObject();
if(currentContact.getDefaultContact().getAlias()
.equals(contact.getAlias())){
if(currentContact.getDefaultContact().getDisplayName()
.equals(contact.getDisplayName())){
return node;
}

@ -37,7 +37,7 @@ public interface Contact
* @return a String that can be used for referring to this contact when
* interacting with the user.
*/
public String getAlias();
public String getDisplayName();
/**
* Returns a byte array containing an image (most often a photo or an avatar)

Loading…
Cancel
Save