aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/protocol/icq/ProtocolProviderFactoryIcqImpl.java
diff options
context:
space:
mode:
authorLyubomir Marinov <lyubomir.marinov@jitsi.org>2013-05-23 18:50:35 +0300
committerLyubomir Marinov <lyubomir.marinov@jitsi.org>2013-05-23 18:50:35 +0300
commitb211c26d6c8f51a75d3b64b6092284c3847a3a8a (patch)
treea51b7d816a27f8db492cf9c44f998e2da8176635 /src/net/java/sip/communicator/impl/protocol/icq/ProtocolProviderFactoryIcqImpl.java
parent24e81b82808681c6b5741b14048ef58c4e665e37 (diff)
downloadjitsi-b211c26d6c8f51a75d3b64b6092284c3847a3a8a.zip
jitsi-b211c26d6c8f51a75d3b64b6092284c3847a3a8a.tar.gz
jitsi-b211c26d6c8f51a75d3b64b6092284c3847a3a8a.tar.bz2
Fixes warnings, removes trailing whitespace, adds @Override annotations.
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/icq/ProtocolProviderFactoryIcqImpl.java')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/icq/ProtocolProviderFactoryIcqImpl.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/icq/ProtocolProviderFactoryIcqImpl.java b/src/net/java/sip/communicator/impl/protocol/icq/ProtocolProviderFactoryIcqImpl.java
index c6480e4..36cdebc 100644
--- a/src/net/java/sip/communicator/impl/protocol/icq/ProtocolProviderFactoryIcqImpl.java
+++ b/src/net/java/sip/communicator/impl/protocol/icq/ProtocolProviderFactoryIcqImpl.java
@@ -49,6 +49,7 @@ public class ProtocolProviderFactoryIcqImpl
* specific properties defining the new account.
* @return the AccountID of the newly created account
*/
+ @Override
public AccountID installAccount( String userIDStr,
Map<String, String> accountProperties)
{
@@ -89,11 +90,12 @@ public class ProtocolProviderFactoryIcqImpl
* Initializes and creates an account corresponding to the specified
* accountProperties and registers the resulting ProtocolProvider in the
* <tt>context</tt> BundleContext parameter.
- *
+ *
* @param accountProperties a set of protocol (or implementation) specific
* properties defining the new account.
* @return the AccountID of the newly created account
*/
+ @Override
public AccountID loadAccount(Map<String, String> accountProperties)
{
// there are two factories - one for icq accounts and one for aim ones.
@@ -114,11 +116,12 @@ public class ProtocolProviderFactoryIcqImpl
* registers it in the bundle context. This method has a persistent
* effect. Once created the resulting account will remain installed until
* removed through the uninstallAccount method.
- *
+ *
* @param accountID the account identifier
* @return <tt>true</tt> if the account with the given <tt>accountID</tt> is
* successfully loaded, otherwise returns <tt>false</tt>
*/
+ @Override
public boolean loadAccount(AccountID accountID)
{
// there are two factories - one for icq accounts and one for aim ones.
@@ -137,11 +140,12 @@ public class ProtocolProviderFactoryIcqImpl
/**
* Initializes and creates an account corresponding to the specified
* accountProperties.
- *
+ *
* @param accountProperties a set of protocol (or implementation) specific
* properties defining the new account.
* @return the AccountID of the newly created account
*/
+ @Override
public AccountID createAccount(Map<String, String> accountProperties)
{
// there are two factories - one for icq accounts and one for aim ones.
@@ -158,11 +162,13 @@ public class ProtocolProviderFactoryIcqImpl
return super.createAccount(accountProperties);
}
+ @Override
protected AccountID createAccountID(String userID, Map<String, String> accountProperties)
{
return new IcqAccountID(userID, accountProperties);
}
+ @Override
protected ProtocolProviderService createService(String userID,
AccountID accountID)
{