Verify leaf node squashing 95/84095/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 30 Aug 2019 12:11:09 +0000 (14:11 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 30 Aug 2019 12:12:11 +0000 (14:12 +0200)
commitcb9d764b14060a24dcabd581b9a0e0c228710402
tree7141ee867e02774dd5b83176cfe3cab63fdd3240
parente584cb1c6c622cea3a4d1df1e0fe7947abf174dd
Verify leaf node squashing

There is a very slight possiblity of somebody playing tricks
to inject Leaf node with a DataContainerChild value, in which case
decoding would break. Verify this does not happen.

JIRA: YANGTOOLS-1019
Change-Id: Idbd6457817b9db5f2b2d4b3fafce57169ace6ec1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/nodes/LazyLeafOperations.java