From e96fd99305f6c0ee3ead1cbb99189e37d69ffed3 Mon Sep 17 00:00:00 2001 From: Emil Ivov Date: Fri, 28 Jul 2006 13:48:52 +0000 Subject: [PATCH] getAccountUserID() -> getUserID() --- .../communicator/service/protocol/AccountID.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) 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(); + } }