X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fconfig%2Fconfig-manager%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fmanager%2Fimpl%2Fosgi%2Fmapping%2FModuleInfoBundleTracker.java;h=2a2a7784ebed7a48f298b607f957dc1921393768;hb=2294805f83434db1d248e629767da6a563ce595f;hp=c5be03ca4dc1948fe776ef30b5d171ec0667ce83;hpb=531621aac4cff9d39cbd8668a53bdeba8a0e6d81;p=controller.git diff --git a/opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/osgi/mapping/ModuleInfoBundleTracker.java b/opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/osgi/mapping/ModuleInfoBundleTracker.java index c5be03ca4d..2a2a7784eb 100644 --- a/opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/osgi/mapping/ModuleInfoBundleTracker.java +++ b/opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/osgi/mapping/ModuleInfoBundleTracker.java @@ -14,7 +14,6 @@ import java.net.URL; import java.util.Collection; import java.util.LinkedList; import java.util.List; - import org.apache.commons.io.IOUtils; import org.opendaylight.yangtools.concepts.ObjectRegistration; import org.opendaylight.yangtools.sal.binding.generator.api.ModuleInfoRegistry; @@ -31,7 +30,7 @@ import org.slf4j.LoggerFactory; */ public final class ModuleInfoBundleTracker implements BundleTrackerCustomizer>> { - private static final Logger LOGGER = LoggerFactory.getLogger(ModuleInfoBundleTracker.class); + private static final Logger LOG = LoggerFactory.getLogger(ModuleInfoBundleTracker.class); public static final String MODULE_INFO_PROVIDER_PATH_PREFIX = "META-INF/services/"; @@ -45,7 +44,7 @@ public final class ModuleInfoBundleTracker implements BundleTrackerCustomizer> addingBundle(Bundle bundle, BundleEvent event) { URL resource = bundle.getEntry(MODULE_INFO_PROVIDER_PATH_PREFIX + YangModelBindingProvider.class.getName()); - LOGGER.debug("Got addingBundle({}) with YangModelBindingProvider resource {}", bundle, resource); + LOG.debug("Got addingBundle({}) with YangModelBindingProvider resource {}", bundle, resource); if(resource==null) { return null; } @@ -54,16 +53,16 @@ public final class ModuleInfoBundleTracker implements BundleTrackerCustomizer lines = IOUtils.readLines(inputStream); for (String moduleInfoName : lines) { - LOGGER.trace("Retrieve ModuleInfo({}, {})", moduleInfoName, bundle); + LOG.trace("Retrieve ModuleInfo({}, {})", moduleInfoName, bundle); YangModuleInfo moduleInfo = retrieveModuleInfo(moduleInfoName, bundle); registrations.add(moduleInfoRegistry.registerModuleInfo(moduleInfo)); } } catch (Exception e) { - LOGGER.error("Error while reading {}", resource, e); + LOG.error("Error while reading {}", resource, e); throw new RuntimeException(e); } - LOGGER.trace("Got following registrations {}", registrations); + LOG.trace("Got following registrations {}", registrations); return registrations; } @@ -111,7 +110,7 @@ public final class ModuleInfoBundleTracker implements BundleTrackerCustomizer