Fix checkstyle reported by odlparent-3.0.0
[controller.git] / opendaylight / config / config-manager-facade-xml / src / main / java / org / opendaylight / controller / config / facade / xml / ConfigSubsystemFacade.java
index c535b2184c8b10759f46d18da4e4d64c298186e5..0f9e6f3ac02661d96417d560ddaca1132d38af2d 100644 (file)
@@ -356,7 +356,7 @@ public class ConfigSubsystemFacade implements Closeable {
     }
 
     private Map<String, Map<String, ModuleRuntime>> createModuleRuntimes(
-            final ConfigRegistryClient configRegistryClient,
+            final ConfigRegistryClient client,
             final Map<String, Map<String, ModuleMXBeanEntry>> mbeanentries) {
         Map<String, Map<String, ModuleRuntime>> retVal = new HashMap<>();
 
@@ -371,7 +371,7 @@ public class ConfigSubsystemFacade implements Closeable {
                 Map<RuntimeBeanEntry, InstanceConfig> cache = new HashMap<>();
                 RuntimeBeanEntry root = null;
                 for (RuntimeBeanEntry rbe : mbe.getRuntimeBeans()) {
-                    cache.put(rbe, new InstanceConfig(configRegistryClient, rbe.getYangPropertiesToTypesMap(),
+                    cache.put(rbe, new InstanceConfig(client, rbe.getYangPropertiesToTypesMap(),
                             mbe.getNullableDummyContainerName()));
                     if (rbe.isRoot()) {
                         root = rbe;