Bug 4295: Fixed incorrectly introduced nodes when MERGE was followed by DELETE
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / schema / tree / AbstractDataTreeCandidate.java
index 3cd12c6197895591e5f3efb5fe7ee98fa3b24360..3b9bc1f8f5427c267092e35a495e3749f5fcfed5 100644 (file)
@@ -7,22 +7,19 @@
  */
 package org.opendaylight.yangtools.yang.data.impl.schema.tree;
 
-
-import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
-import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate;
-
 import com.google.common.base.Preconditions;
+import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
+import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidateTip;
 
-abstract class AbstractDataTreeCandidate implements DataTreeCandidate {
-    private final InstanceIdentifier rootPath;
+abstract class AbstractDataTreeCandidate extends AbstractDataTreeTip implements DataTreeCandidateTip {
+    private final YangInstanceIdentifier rootPath;
 
-    protected AbstractDataTreeCandidate(final InstanceIdentifier rootPath) {
+    protected AbstractDataTreeCandidate(final YangInstanceIdentifier rootPath) {
         this.rootPath = Preconditions.checkNotNull(rootPath);
     }
 
     @Override
-    public final InstanceIdentifier getRootPath() {
+    public final YangInstanceIdentifier getRootPath() {
         return rootPath;
     }
-
 }