/*
- * Copyright (c) 2014 Cisco Systems, Inc. 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,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
+ * Copyright (c) 2014 Cisco Systems, Inc. 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,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
*/
package org.opendaylight.controller.cluster.datastore.node;
import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
import org.opendaylight.yangtools.yang.model.util.IdentityrefType;
-import org.opendaylight.yangtools.yang.model.util.InstanceIdentifier;
+import org.opendaylight.yangtools.yang.model.util.InstanceIdentifierType;
import org.opendaylight.yangtools.yang.model.util.Leafref;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
return value;
} else if(baseType instanceof IdentityrefType) {
return QNameFactory.create(value);
- } else if(baseType instanceof InstanceIdentifier) {
+ } else if(baseType instanceof InstanceIdentifierType) {
return InstanceIdentifierUtils.fromSerializable(node.getInstanceIdentifierValue());
} else {
logger.error("Could not figure out how to transform value " + value + " for schemaType " + type);