}
// FIXME: Should there be non-root path?
- DataTreeModificationCursor dataTreeCursor = modification.createCursor(YangInstanceIdentifier.EMPTY);
+ DataTreeModificationCursor dataTreeCursor = modification.openCursor(YangInstanceIdentifier.EMPTY).get();
cursor = DataTreeModificationCursorAdaptor.of(dataTreeCursor);
}
return cursor;