commit | 35dab2a9c97943b8fa4eb41e80fbce49c9258b57 | [log] [tgz] |
---|---|---|
author | Pierre De Rop <pderop@apache.org> | Wed Feb 10 07:56:12 2016 +0000 |
committer | Pierre De Rop <pderop@apache.org> | Wed Feb 10 07:56:12 2016 +0000 |
tree | a8b2a7887c9fd0c54deefe04885c340da6aff440 | |
parent | 97cd15b9e3384f6be595f4407d0529ca5c0d9a0e [diff] |
FELIX-5177: refactoring: removed unecessary catch in updateService method. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1729543 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/impl/FactoryConfigurationAdapterImpl.java b/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/impl/FactoryConfigurationAdapterImpl.java index c9ceaf6..f6e6597 100644 --- a/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/impl/FactoryConfigurationAdapterImpl.java +++ b/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/impl/FactoryConfigurationAdapterImpl.java
@@ -163,17 +163,11 @@ Component service = (Component) properties[1]; CallbackTypeDef callbackInfo = createCallbackType(m_logger, service, m_configType, cmSettings); - try { - invokeUpdated(service, callbackInfo); + invokeUpdated(service, callbackInfo); - if (m_serviceInterfaces != null && m_propagate == true) { - Dictionary<String, ?> serviceProperties = getServiceProperties(cmSettings); - service.setServiceProperties(serviceProperties); - } - } - - catch (Throwable t) { - handleException(t); + if (m_serviceInterfaces != null && m_propagate == true) { + Dictionary<String, ?> serviceProperties = getServiceProperties(cmSettings); + service.setServiceProperties(serviceProperties); } }