We do not need a builder here, just use the empty identifier.
Change-Id: I65d6cd0d27e71316b5a8eed330157b583e406474
Signed-off-by: Robert Varga <[email protected]>
}
if (returnJustMountPoint || strings.size() == 1) {
- final YangInstanceIdentifier instance = YangInstanceIdentifier.builder().build();
- return new InstanceIdentifierContext<>(instance, mountPointSchema, mount, mountPointSchema);
+ return new InstanceIdentifierContext<>(YangInstanceIdentifier.empty(), mountPointSchema, mount,
+ mountPointSchema);
}
final String moduleNameBehindMountPoint = toModuleName(strings.get(1));