From 621c7bcc1ee00ed08252c110964d97b2fce93a12 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Thu, 23 Apr 2020 17:32:19 +0200 Subject: [PATCH] Adjust to CodeHelpers having been updated MD-SAL has provided more useful methods to use this, fix compilation breakage. Change-Id: I354e4e4e224a0b53d59283a7af8196a5cb56778b Signed-off-by: Robert Varga --- .../cluster/datastore/DatastoreContextIntrospectorTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DatastoreContextIntrospectorTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DatastoreContextIntrospectorTest.java index 19f4c8e7c3..6a684ff32b 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DatastoreContextIntrospectorTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DatastoreContextIntrospectorTest.java @@ -24,7 +24,6 @@ import java.util.Map; import org.junit.Test; import org.opendaylight.binding.runtime.spi.BindingRuntimeHelpers; import org.opendaylight.mdsal.binding.dom.codec.impl.BindingCodecContext; -import org.opendaylight.mdsal.binding.generator.impl.DefaultBindingRuntimeGenerator; import org.opendaylight.mdsal.dom.store.inmemory.InMemoryDOMDataStoreConfigProperties; import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.config.distributed.datastore.provider.rev140612.DataStorePropertiesContainer; @@ -35,8 +34,7 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controll */ public class DatastoreContextIntrospectorTest { static final DatastoreContextIntrospectorFactory INTROSPECTOR_FACTORY = new DatastoreContextIntrospectorFactory( - new BindingCodecContext(BindingRuntimeHelpers.createRuntimeContext(new DefaultBindingRuntimeGenerator(), - DataStorePropertiesContainer.class))); + new BindingCodecContext(BindingRuntimeHelpers.createRuntimeContext(DataStorePropertiesContainer.class))); @Test public void testYangDefaults() { -- 2.36.6