From 5ae0bdc159b5652118fb3bd775ddd7b01d75a121 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Fri, 3 Aug 2018 21:00:37 +0200 Subject: Do not use FQN of DataBroker in ModifiableDataTreeDelegator Change-Id: I5944e9fd9388fbc533bf909b171b0672d798ad82 Signed-off-by: Marek Gradzki --- .../java/io/fd/honeycomb/data/impl/ModifiableDataTreeDelegator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModifiableDataTreeDelegator.java b/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModifiableDataTreeDelegator.java index 381456100..92c4b393c 100644 --- a/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModifiableDataTreeDelegator.java +++ b/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModifiableDataTreeDelegator.java @@ -41,6 +41,7 @@ import java.util.Set; import java.util.stream.Collectors; import javax.annotation.Nonnull; import javax.annotation.Nullable; +import org.opendaylight.controller.md.sal.binding.api.DataBroker; import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException; import org.opendaylight.controller.md.sal.dom.api.DOMDataReadOnlyTransaction; import org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer; @@ -65,7 +66,7 @@ public final class ModifiableDataTreeDelegator extends ModifiableDataTreeManager private static final ReadableDataManager EMPTY_OPERATIONAL = p -> immediateCheckedFuture(Optional.absent()); private final WriterRegistry writerRegistry; - private final org.opendaylight.controller.md.sal.binding.api.DataBroker contextBroker; + private final DataBroker contextBroker; private final BindingNormalizedNodeSerializer serializer; private final SchemaContext schema; @@ -81,7 +82,7 @@ public final class ModifiableDataTreeDelegator extends ModifiableDataTreeManager @Nonnull final DataTree dataTree, @Nonnull final SchemaContext schema, @Nonnull final WriterRegistry writerRegistry, - @Nonnull final org.opendaylight.controller.md.sal.binding.api.DataBroker contextBroker) { + @Nonnull final DataBroker contextBroker) { super(dataTree); this.contextBroker = checkNotNull(contextBroker, "contextBroker should not be null"); this.serializer = checkNotNull(serializer, "serializer should not be null"); -- cgit 1.2.3-korg