Mechanical code cleanup (config)
[controller.git] / opendaylight / config / config-manager-facade-xml / src / main / java / org / opendaylight / controller / config / facade / xml / osgi / YangStoreActivator.java
index 32e064a27a3f4e64ca25c9e87c611135615088cc..4c5674a57a7b0d277522294f21db3c9ec311ba4b 100644 (file)
@@ -81,7 +81,8 @@ public class YangStoreActivator implements BundleActivator {
                     yangStoreService.refresh(runtimeContext);
                 }
 
-                yangStoreServiceServiceRegistration = context.registerService(YangStoreService.class, yangStoreService, new Hashtable<String, Object>());
+                yangStoreServiceServiceRegistration = context.registerService(YangStoreService.class, yangStoreService,
+                        new Hashtable<>());
                 configRegistryLookup = new ConfigRegistryLookupThread(yangStoreService);
                 configRegistryLookup.start();
                 return yangStoreService;
@@ -186,7 +187,8 @@ public class YangStoreActivator implements BundleActivator {
 
             final ConfigSubsystemFacadeFactory configSubsystemFacade =
                     new ConfigSubsystemFacadeFactory(jmxClient, jmxClientNoNotifications, yangStoreService);
-            osgiRegistrayion = context.registerService(ConfigSubsystemFacadeFactory.class, configSubsystemFacade, new Hashtable<String, Object>());
+            osgiRegistrayion = context.registerService(ConfigSubsystemFacadeFactory.class, configSubsystemFacade,
+                    new Hashtable<>());
         }
     }
 }