felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clem...@apache.org
Subject svn commit: r1642848 - /felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedServiceHandler.java
Date Tue, 02 Dec 2014 12:22:33 GMT
Author: clement
Date: Tue Dec  2 12:22:33 2014
New Revision: 1642848

URL: http://svn.apache.org/r1642848
Log:
Fix FELIX-4713
Applied proposed patch.

Modified:
    felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedServiceHandler.java

Modified: felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedServiceHandler.java
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedServiceHandler.java?rev=1642848&r1=1642847&r2=1642848&view=diff
==============================================================================
--- felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedServiceHandler.java
(original)
+++ felix/trunk/ipojo/runtime/core/src/main/java/org/apache/felix/ipojo/handlers/providedservice/ProvidedServiceHandler.java
Tue Dec  2 12:22:33 2014
@@ -312,7 +312,7 @@ public class ProvidedServiceHandler exte
                     throw new ConfigurationException("Service Providing: The specification
field of the service specification " + svc.getServiceSpecifications()[i] + " needs to be a
String");
                 }
             } catch (NoSuchFieldException e) {
-                return true; // No specification field
+                // Ignore it, keep and going.
             } catch (ClassNotFoundException e) {
                 throw new ConfigurationException("Service Providing: The service specification
" + svc.getServiceSpecifications()[i] + " cannot be loaded", e);
             } catch (IllegalArgumentException e) {



Mime
View raw message