Bug 1698: Updated handling of choice node inside choice node 40/10940/1
authorTony Tkacik <ttkacik@cisco.com>
Tue, 9 Sep 2014 12:18:16 +0000 (14:18 +0200)
committerTony Tkacik <ttkacik@cisco.com>
Tue, 9 Sep 2014 12:20:54 +0000 (14:20 +0200)
commit9b232b2e329b5432e3af28789c30b289750f1c52
treee575100e0789b4849d0dec18e5b206a5b43fcebf
parent225bc8f87dc70de25ed80dfd70c9fdf3689755f4
Bug 1698: Updated handling of choice node inside choice node

As it turned out, Composite Node to Binding codec
had problem with handling situations, where case
was augmented to choice and that case contained
another choice directly on first level.

Updated code to detect this situation and do proper lookup
to find choice in case in choice.

Change-Id: I2c39542520b842857884468dc0dcd28502ff41b3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
code-generator/binding-generator-impl/src/main/java/org/opendaylight/yangtools/sal/binding/generator/impl/LazyGeneratedCodecRegistry.java
restconf/restconf-util/src/main/java/org/opendaylight/yangtools/restconf/utils/RestconfUtils.java