Reconstruct inference stack during normalization
[netconf.git] / restconf / restconf-nb-rfc8040 / src / main / java / org / opendaylight / restconf / nb / rfc8040 / utils / parser / IdentifierCodec.java
index cda1b4459c12322b5748b27c504b24f9fd84b30c..9e89ddc267b6da831d4adc2d9785d12a5574c3b1 100644 (file)
@@ -27,6 +27,6 @@ public final class IdentifierCodec {
 
     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;
     }
 }