From bd20f6078dd0687a97b6a903ab6b3e28225fc78e Mon Sep 17 00:00:00 2001 From: Ryan Goulding Date: Tue, 19 Jul 2016 14:12:45 -0400 Subject: [PATCH] Fix compiler error due to removal of InMemoryDataTreeFactory.create Change-Id: I047117f1a0c234eb6d2bc5cb9a553a8c0c2d742b Signed-off-by: Ryan Goulding --- .../mdsal/dom/store/inmemory/InMemoryDOMDataStore.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/InMemoryDOMDataStore.java b/dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/InMemoryDOMDataStore.java index a768b8a61c..ae7f4c1e39 100644 --- a/dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/InMemoryDOMDataStore.java +++ b/dom/mdsal-dom-inmemory-datastore/src/main/java/org/opendaylight/mdsal/dom/store/inmemory/InMemoryDOMDataStore.java @@ -31,6 +31,7 @@ import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate; import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification; import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeSnapshot; import org.opendaylight.yangtools.yang.data.api.schema.tree.DataValidationFailedException; +import org.opendaylight.yangtools.yang.data.api.schema.tree.TreeType; import org.opendaylight.yangtools.yang.data.impl.schema.tree.InMemoryDataTreeFactory; import org.opendaylight.yangtools.yang.model.api.SchemaContext; import org.opendaylight.yangtools.yang.model.api.SchemaContextListener; @@ -49,7 +50,7 @@ import org.slf4j.LoggerFactory; public class InMemoryDOMDataStore extends TransactionReadyPrototype implements DOMStore, Identifiable, SchemaContextListener, AutoCloseable, DOMStoreTreeChangePublisher { private static final Logger LOG = LoggerFactory.getLogger(InMemoryDOMDataStore.class); - private final DataTree dataTree = InMemoryDataTreeFactory.getInstance().create(); + private final DataTree dataTree = InMemoryDataTreeFactory.getInstance().create(TreeType.OPERATIONAL); private final AtomicLong txCounter = new AtomicLong(0); private final InMemoryDOMStoreTreeChangePublisher changePublisher; -- 2.36.6