From b7acf89cd9da40c9c78f4564c1cd4c37304829ae Mon Sep 17 00:00:00 2001 From: Vincent Lucas Date: Tue, 25 Sep 2012 14:11:58 +0000 Subject: Updates the PhoneNumberI18nServiceImpl, in order to remove the dependency to the libphonenumber. --- .../googlecontacts/GoogleContactsActivator.java | 26 ---------------------- 1 file changed, 26 deletions(-) (limited to 'src/net/java/sip/communicator/impl/googlecontacts/GoogleContactsActivator.java') diff --git a/src/net/java/sip/communicator/impl/googlecontacts/GoogleContactsActivator.java b/src/net/java/sip/communicator/impl/googlecontacts/GoogleContactsActivator.java index 45afa50..e061cba 100644 --- a/src/net/java/sip/communicator/impl/googlecontacts/GoogleContactsActivator.java +++ b/src/net/java/sip/communicator/impl/googlecontacts/GoogleContactsActivator.java @@ -60,13 +60,6 @@ public class GoogleContactsActivator implements BundleActivator private static ResourceManagementService resourceService; /** - * The cached reference to the PhoneNumberI18nService instance used - * by the functionality of the Google Contacts plug-in and fetched from its - * BundleContext. - */ - private static PhoneNumberI18nService phoneNumberI18nService; - - /** * Google contacts service. */ private static GoogleContactsServiceImpl googleContactsService; @@ -78,25 +71,6 @@ public class GoogleContactsActivator implements BundleActivator = new HashMap(); /** - * Gets the PhoneNumberI18nService to be used by the functionality - * of the addrbook plug-in. - * - * @return the PhoneNumberI18nService to be used by the - * functionality of the addrbook plug-in - */ - public static PhoneNumberI18nService getPhoneNumberI18nService() - { - if (phoneNumberI18nService == null) - { - phoneNumberI18nService - = ServiceUtils.getService( - bundleContext, - PhoneNumberI18nService.class); - } - return phoneNumberI18nService; - } - - /** * Returns a reference to a ConfigurationService implementation currently * registered in the bundle context or null if no such implementation was * found. -- cgit v1.1