BUG-2856: add leaf node simplied by key 47/16947/1
authorRobert Varga <rovarga@cisco.com>
Sun, 22 Mar 2015 10:13:06 +0000 (11:13 +0100)
committerRobert Varga <rovarga@cisco.com>
Sun, 22 Mar 2015 10:22:36 +0000 (11:22 +0100)
commita6b73dcdf54f4e7dc4a8306ff1dc19d4fffc8592
tree7c8bc3de42499ba5180e67af2d4d924a0d45ac24
parent9e5540fb30986583d69e51f9290dbb651338f4b0
BUG-2856: add leaf node simplied by key

Since we have the cross-reference between key and object leaf nodes, we
enforce the consistency. Unfortunately this is not something obvious to
users. We have enough information to correct the situation, so lower the
check to apply only when an explicit inconsistency is detected.

Change-Id: I9297a7d60e4e8d4cd0680a74c1e45f412f8b5f77
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/builder/impl/ImmutableMapEntryNodeBuilder.java