diff --git a/src/net/java/sip/communicator/service/protocol/AccountID.java b/src/net/java/sip/communicator/service/protocol/AccountID.java index 8a2173c2f..ea08a95e0 100644 --- a/src/net/java/sip/communicator/service/protocol/AccountID.java +++ b/src/net/java/sip/communicator/service/protocol/AccountID.java @@ -85,7 +85,7 @@ protected AccountID( String userID, * * @return A String identyfying the user inside this particular service. */ - public String getAccountUserID() + public String getUserID() { return userID; } @@ -96,7 +96,7 @@ public String getAccountUserID() * be unique for differing accounts. * @return String */ - public String getAccountUID() + public String getAccountUniqueID() { return accountUID; } @@ -148,5 +148,15 @@ public boolean equals(Object obj) return true; } + /** + * Returns a string representation of this account id (same as calling + * getAccountUniqueID()). + * + * @return a string representation of this account id. + */ + public String toString() + { + return getAccountUniqueID(); + } }