Fixed NPE regresion in augmentation handling.
authorTony Tkacik <ttkacik@cisco.com>
Tue, 3 Sep 2013 17:16:49 +0000 (10:16 -0700)
committerTony Tkacik <ttkacik@cisco.com>
Tue, 3 Sep 2013 17:40:02 +0000 (10:40 -0700)
commitdceb6533cc236633785c90ea66d25094114975fc
tree9b1f2b3b65d681b116fc236e126e5fd86af9b7b8
parent3f98f3599343f6a3db801f3c379b605e7fa23c3f
Fixed NPE regresion in augmentation handling.

Added rollback to original handling if the class of augmentation
target is not already generated or registered in newly introduced
mapping between yang types and generated java binding specs.

Change-Id: I9d05e8ed0f6d6f2f3230a320e6eceb4463130ab0
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
code-generator/binding-generator-impl/src/main/java/org/opendaylight/yangtools/sal/binding/generator/impl/BindingGeneratorImpl.xtend