From a8cb4d333870ec373a1bf3bb2a1c65233e80c471 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Fri, 12 Dec 2014 09:56:49 +0100 Subject: Removes not accessible method from ServiceUtils. --- .../java/sip/communicator/util/ServiceUtils.java | 33 ---------------------- 1 file changed, 33 deletions(-) (limited to 'src/net/java/sip/communicator/util') diff --git a/src/net/java/sip/communicator/util/ServiceUtils.java b/src/net/java/sip/communicator/util/ServiceUtils.java index 31d90ca..2ddf234 100644 --- a/src/net/java/sip/communicator/util/ServiceUtils.java +++ b/src/net/java/sip/communicator/util/ServiceUtils.java @@ -79,39 +79,6 @@ public class ServiceUtils return serviceReferences; } - /** - * Gets an OSGi service references registered in a specific - * BundleContext by its Class name. - * - * @param bundleContext the BundleContext in which the services to - * get have been registered - * @param serviceClassName the name of the Class of the OSGi - * service references to get - * @return the OSGi service references registered in bundleContext - * with the specified serviceClassName if such a services exists - * there; otherwise, null - */ - @SuppressWarnings("unused") - private static ServiceReference[] getServiceReferences( - BundleContext bundleContext, - String serviceClassName) - { - ServiceReference[] serviceReferences; - - try - { - serviceReferences - = bundleContext.getServiceReferences( - serviceClassName, - null); - } - catch (InvalidSyntaxException ex) - { - serviceReferences = null; - } - return serviceReferences; - } - /** Prevents the creation of ServiceUtils instances. */ private ServiceUtils() { -- cgit v1.1