public static YangInstanceIdentifier deserialize(final String data, final EffectiveModelContext schemaContext) {
return data == null ? YangInstanceIdentifier.empty()
- : YangInstanceIdentifier.create(YangInstanceIdentifierDeserializer.create(schemaContext, data));
+ : YangInstanceIdentifierDeserializer.create(schemaContext, data).path;
}
}