/*
- * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
+ * Copyright © 2016, 2017 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
*/
package org.opendaylight.ovsdb.hwvtepsouthbound.reconciliation.configuration;
-import org.opendaylight.controller.md.sal.binding.api.DataObjectModification;
-import org.opendaylight.controller.md.sal.binding.api.DataTreeIdentifier;
-import org.opendaylight.controller.md.sal.binding.api.DataTreeModification;
-import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
+import org.opendaylight.mdsal.binding.api.DataObjectModification;
+import org.opendaylight.mdsal.binding.api.DataTreeIdentifier;
+import org.opendaylight.mdsal.binding.api.DataTreeModification;
+import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
import org.opendaylight.yangtools.yang.binding.DataObject;
import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
@Override
public DataTreeIdentifier<T> getRootPath() {
- return new DataTreeIdentifier<T>(LogicalDatastoreType.CONFIGURATION, nodeId);
+ return DataTreeIdentifier.create(LogicalDatastoreType.CONFIGURATION, nodeId);
}
@Override
public DataObjectModification<T> getRootNode() {
- return new DataObjectModificationImpl<T>(nodeId, newNode, oldNode);
+ return new DataObjectModificationImpl<>(nodeId, newNode, oldNode);
}
}
\ No newline at end of file