From 0fe2819b041f69423bc128931fc2e9e1dba2002d Mon Sep 17 00:00:00 2001 From: Emil Ivov Date: Sun, 25 Jun 2006 23:02:57 +0000 Subject: [PATCH] Typo --- .../communicator/impl/protocol/icq/AccountManagerIcqImpl.java | 2 +- .../sip/communicator/service/protocol/AccountManager.java | 2 +- .../slick/protocol/icq/TestAccountInstallation.java | 4 ++-- .../slick/protocol/icq/TestAccountUninstallation.java | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/net/java/sip/communicator/impl/protocol/icq/AccountManagerIcqImpl.java b/src/net/java/sip/communicator/impl/protocol/icq/AccountManagerIcqImpl.java index 500a1279d..00a3f1008 100644 --- a/src/net/java/sip/communicator/impl/protocol/icq/AccountManagerIcqImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/icq/AccountManagerIcqImpl.java @@ -36,7 +36,7 @@ protected void IcqAccountManager() * @return a copy of the llist containing all accounts currently installed * in the protocol provider. */ - public ArrayList getRegisteredAcounts() + public ArrayList getRegisteredAccounts() { return new ArrayList(registeredAccounts.keySet()); } diff --git a/src/net/java/sip/communicator/service/protocol/AccountManager.java b/src/net/java/sip/communicator/service/protocol/AccountManager.java index abd155ade..286a710ee 100644 --- a/src/net/java/sip/communicator/service/protocol/AccountManager.java +++ b/src/net/java/sip/communicator/service/protocol/AccountManager.java @@ -70,7 +70,7 @@ public AccountID installAccount(BundleContext context, * in this protocol provider. * @return ArrayList */ - public ArrayList getRegisteredAcounts(); + public ArrayList getRegisteredAccounts(); /** * Returns the ServiceReference for the protocol provider corresponding to diff --git a/test/net/java/sip/communicator/slick/protocol/icq/TestAccountInstallation.java b/test/net/java/sip/communicator/slick/protocol/icq/TestAccountInstallation.java index 59269a32a..42d42c083 100644 --- a/test/net/java/sip/communicator/slick/protocol/icq/TestAccountInstallation.java +++ b/test/net/java/sip/communicator/slick/protocol/icq/TestAccountInstallation.java @@ -327,7 +327,7 @@ public void testInstallAccount() //make sure the account is empty assertTrue("There was an account registered with the account mananger " +"before we've installed any", - icqAccountManager.getRegisteredAcounts().size() == 0); + icqAccountManager.getRegisteredAccounts().size() == 0); //Prepare the properties of the icq account. @@ -394,7 +394,7 @@ public void testInstallAccount() assertTrue( "The newly installed account was not in the acc man's " +"registered accounts!", - icqAccountManager.getRegisteredAcounts().size() == 1); + icqAccountManager.getRegisteredAccounts().size() == 1); //Verify that the protocol provider corresponding to the new account has //been properly registered with the osgi framework. diff --git a/test/net/java/sip/communicator/slick/protocol/icq/TestAccountUninstallation.java b/test/net/java/sip/communicator/slick/protocol/icq/TestAccountUninstallation.java index 43385ef74..eaf3a5d55 100644 --- a/test/net/java/sip/communicator/slick/protocol/icq/TestAccountUninstallation.java +++ b/test/net/java/sip/communicator/slick/protocol/icq/TestAccountUninstallation.java @@ -129,7 +129,7 @@ public void testMultipleLogins() public void testUninstallAccount() { assertFalse("No installed accaounts found", - fixture.accManager.getRegisteredAcounts().isEmpty()); + fixture.accManager.getRegisteredAccounts().isEmpty()); assertNotNull( "Found no provider corresponding to account ID " @@ -166,7 +166,7 @@ public void testUninstallAccount() assertTrue( "The ICQ account manager kept a reference to the provider we just " +"uninstalled (accID="+fixture.icqAccountID+")", - fixture.accManager.getRegisteredAcounts().isEmpty() + fixture.accManager.getRegisteredAccounts().isEmpty() && fixture.accManager.getProviderForAccount(fixture.icqAccountID) == null ); }