diff options
author | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2009-08-31 13:15:22 +0000 |
---|---|---|
committer | Lyubomir Marinov <lyubomir.marinov@jitsi.org> | 2009-08-31 13:15:22 +0000 |
commit | d84529346a391f3fd33d3bff5ebb808a837429d3 (patch) | |
tree | 85e3fb45421099bf6fe6429f491c13e185c5f85b /src/net/java/sip/communicator/impl/protocol/zeroconf/ZeroconfAccountID.java | |
parent | 45e152d9b19a7ebd4dcd3cb0631a4cc3f283ba2a (diff) | |
download | jitsi-d84529346a391f3fd33d3bff5ebb808a837429d3.zip jitsi-d84529346a391f3fd33d3bff5ebb808a837429d3.tar.gz jitsi-d84529346a391f3fd33d3bff5ebb808a837429d3.tar.bz2 |
Commits another part of the patch provided by Sebastien Vincent on the dev mailing list in an e-mail with the subject "Fix lot of warnings in the code" which fixes warnings in the src directory.
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/zeroconf/ZeroconfAccountID.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/zeroconf/ZeroconfAccountID.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/zeroconf/ZeroconfAccountID.java b/src/net/java/sip/communicator/impl/protocol/zeroconf/ZeroconfAccountID.java index 199591c..dd592f2 100644 --- a/src/net/java/sip/communicator/impl/protocol/zeroconf/ZeroconfAccountID.java +++ b/src/net/java/sip/communicator/impl/protocol/zeroconf/ZeroconfAccountID.java @@ -30,19 +30,19 @@ public class ZeroconfAccountID * @param userID id identifying this account * @param accountProperties any other properties necessary for the account. */ - ZeroconfAccountID(String userID, Map accountProperties) + ZeroconfAccountID(String userID, Map<String, String> accountProperties) { super(userID, accountProperties, ProtocolNames.ZEROCONF, "zeroconf.org"); - first = (String)accountProperties.get("first"); - last = (String)accountProperties.get("last"); - mail = (String)accountProperties.get("mail"); + first = accountProperties.get("first"); + last = accountProperties.get("last"); + mail = accountProperties.get("mail"); rememberContacts = - new Boolean((String)accountProperties.get("rememberContacts")) + new Boolean(accountProperties.get("rememberContacts")) .booleanValue(); } |