ImmutableMapNodeBuilder.create()
.withNodeIdentifier(new NodeIdentifier(listNode.getQName()))
.withChild(builder.build()).build());
-// return Collections.<DataContainerChild<?, ?>> singletonList(compositeNodeBuilder.toInstance());
+// return Collections.<DataContainerChild<?, ?>> singletonList(compositeNodeBuilder.build());
} else {
return Collections.emptyList();
}
}
if (strings.isEmpty()) {
- return createContext(builder.toInstance(), ((DataSchemaNode) parentNode), mountPoint,mountPoint != null ? mountPoint.getSchemaContext() : globalSchema);
+ return createContext(builder.build(), ((DataSchemaNode) parentNode), mountPoint,mountPoint != null ? mountPoint.getSchemaContext() : globalSchema);
}
final String head = strings.iterator().next();
}
if (returnJustMountPoint || strings.size() == 1) {
- final YangInstanceIdentifier instance = YangInstanceIdentifier.builder().toInstance();
+ final YangInstanceIdentifier instance = YangInstanceIdentifier.builder().build();
return new InstanceIdentifierContext<>(instance, mountPointSchema, mount,mountPointSchema);
}