Bug 1698: Updated handling of choice node inside choice node
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)
commit9d143a4467ca27d5a95bce30242ff3423591610b
tree0a850829bf5c111343ebfeaa77545a353c86f35c
parent27bbca4b72bae0905b689148174b2e14d4819b4f
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