Fix raw type warnings
[aaa.git] / aaa-password-service / impl / src / main / java / org / opendaylight / aaa / impl / password / service / OSGiPasswordServiceConfigBootstrap.java
index 8cb741bb1a68e422096485cb38a885eb16b88cd3..e98caab2ec2b92ce4aa931b583b5e47530e7d692 100644 (file)
@@ -39,10 +39,10 @@ public final class OSGiPasswordServiceConfigBootstrap
     DataBroker dataBroker = null;
 
     @Reference(target = "(component.factory=" + OSGiPasswordServiceConfig.FACTORY_NAME + ")")
-    ComponentFactory configFactory = null;
+    ComponentFactory<OSGiPasswordServiceConfig> configFactory = null;
 
     private ListenerRegistration<?> registration;
-    private ComponentInstance instance;
+    private ComponentInstance<?> instance;
 
     @Activate
     synchronized void activate() {
@@ -77,7 +77,7 @@ public final class OSGiPasswordServiceConfigBootstrap
     @Holding("this")
     private void updateInstance(final PasswordServiceConfig config) {
         if (registration != null) {
-            final ComponentInstance newInstance = configFactory.newInstance(
+            final ComponentInstance<?> newInstance = configFactory.newInstance(
                 OSGiPasswordServiceConfig.props(config != null ? config : new PasswordServiceConfigBuilder().build()));
             if (instance != null) {
                 instance.dispose();