diff options
author | paweldomas <pawel.domas@jitsi.org> | 2014-12-12 09:56:49 +0100 |
---|---|---|
committer | paweldomas <pawel.domas@jitsi.org> | 2014-12-29 10:42:29 +0100 |
commit | a8cb4d333870ec373a1bf3bb2a1c65233e80c471 (patch) | |
tree | 2407302483c3b907a7eeb25d413d3846eb2937bd /src/net/java/sip/communicator/util | |
parent | b5095421b06a6f0737532022eb09d9983ac0e838 (diff) | |
download | jitsi-a8cb4d333870ec373a1bf3bb2a1c65233e80c471.zip jitsi-a8cb4d333870ec373a1bf3bb2a1c65233e80c471.tar.gz jitsi-a8cb4d333870ec373a1bf3bb2a1c65233e80c471.tar.bz2 |
Removes not accessible method from ServiceUtils.
Diffstat (limited to 'src/net/java/sip/communicator/util')
-rw-r--r-- | src/net/java/sip/communicator/util/ServiceUtils.java | 33 |
1 files changed, 0 insertions, 33 deletions
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 - * <tt>BundleContext</tt> by its <tt>Class</tt> name. - * - * @param bundleContext the <tt>BundleContext</tt> in which the services to - * get have been registered - * @param serviceClassName the name of the <tt>Class</tt> of the OSGi - * service references to get - * @return the OSGi service references registered in <tt>bundleContext</tt> - * with the specified <tt>serviceClassName</tt> if such a services exists - * there; otherwise, <tt>null</tt> - */ - @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 <tt>ServiceUtils</tt> instances. */ private ServiceUtils() { |