* @throws IllegalStateException if there is another cursor currently open.
*/
default DataTreeSnapshotCursor openCursor() {
- return openCursor(YangInstanceIdentifier.empty()).orElseThrow();
+ return openCursor(YangInstanceIdentifier.of()).orElseThrow();
}
@Override