Binding generator v2 - uses implement - fix finding target grouping 14/60514/12
authorJie Han <han.jie@zte.com.cn>
Tue, 18 Jul 2017 00:51:00 +0000 (08:51 +0800)
committerJie Han <han.jie@zte.com.cn>
Thu, 10 Aug 2017 02:09:00 +0000 (10:09 +0800)
commit77c25a44eecef69ee0e6611c3c995e90860b1b45
tree9261db8279686ad72b08b2bb57f32739e40a7158
parentf935e02f0667b235841a921fa163d94a193e6947
Binding generator v2 - uses implement - fix finding target grouping

- can not call findDataSchemaNode to find target grouping since it search
data node first that may find a wrong data node with the same name, here
specially find grouping by getGrouping() first, and that should be always
correct for uses grouping, anyway, in case find nothing,
keep the findDataSchemaNode methord.

Change-Id: Ibef1c5a0e01d1fe36260c76676ae02b926d62296
Signed-off-by: Jie Han <han.jie@zte.com.cn>
binding2/mdsal-binding2-generator-impl/src/main/java/org/opendaylight/mdsal/binding/javav2/generator/impl/GenHelperUtil.java