X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Frestconf-nb-bierman02%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fsal%2Frestconf%2Fimpl%2FControllerContext.java;h=04be54c81809fafe1cebc3b1612994f18c7637f3;hb=b7537d2482ffb05582749ce80a7ca44c64a5ad6c;hp=677ec32bde8b62223f61e0eeaf6b2ee1bb5cd864;hpb=e0348041c1759f520f1f2993cc139647a41fb29e;p=netconf.git diff --git a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/ControllerContext.java b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/ControllerContext.java index 677ec32bde..04be54c818 100644 --- a/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/ControllerContext.java +++ b/restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/impl/ControllerContext.java @@ -7,7 +7,6 @@ */ package org.opendaylight.netconf.sal.restconf.impl; -import com.google.common.base.Optional; import com.google.common.base.Preconditions; import com.google.common.base.Splitter; import com.google.common.base.Strings; @@ -29,14 +28,15 @@ import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; +import java.util.Optional; import java.util.Set; import java.util.concurrent.atomic.AtomicReference; import javax.ws.rs.core.Response.Status; import org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationException; import org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizationOperation; import org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizer; -import org.opendaylight.controller.md.sal.dom.api.DOMMountPoint; -import org.opendaylight.controller.md.sal.dom.api.DOMMountPointService; +import org.opendaylight.mdsal.dom.api.DOMMountPoint; +import org.opendaylight.mdsal.dom.api.DOMMountPointService; import org.opendaylight.mdsal.dom.api.DOMSchemaService; import org.opendaylight.mdsal.dom.api.DOMYangTextSourceProvider; import org.opendaylight.netconf.sal.rest.api.Draft02; @@ -101,8 +101,8 @@ public final class ControllerContext implements SchemaContextListener, Closeable private volatile SchemaContext globalSchema; private volatile DataNormalizer dataNormalizer; - private ControllerContext(DOMSchemaService schemaService, DOMMountPointService mountService, - DOMYangTextSourceProvider yangTextSourceProvider) { + private ControllerContext(final DOMSchemaService schemaService, final DOMMountPointService mountService, + final DOMYangTextSourceProvider yangTextSourceProvider) { this.mountService = mountService; this.yangTextSourceProvider = yangTextSourceProvider; @@ -110,8 +110,8 @@ public final class ControllerContext implements SchemaContextListener, Closeable listenerRegistration = schemaService.registerSchemaContextListener(this); } - public static ControllerContext newInstance(DOMSchemaService schemaService, DOMMountPointService mountService, - DOMSchemaService domSchemaService) { + public static ControllerContext newInstance(final DOMSchemaService schemaService, + final DOMMountPointService mountService, final DOMSchemaService domSchemaService) { final DOMYangTextSourceProvider yangTextSourceProvider = domSchemaService.getExtensions() .getInstance(DOMYangTextSourceProvider.class);