Bug 5481: When condition of augment added in constraints of augment target 60/36060/1
authorPeter Kajsa <pkajsa@cisco.com>
Wed, 9 Mar 2016 17:22:46 +0000 (18:22 +0100)
committerPeter Kajsa <pkajsa@cisco.com>
Thu, 10 Mar 2016 16:22:13 +0000 (17:22 +0100)
commit78cbd44f2617ed955064036b94f88603bc3de826
treea7f7110e1c6eac7a505f821fd1458e16b6254a75
parent3b0d84cfa2c34dd2c72b02bf52506c0d1f1c530f
Bug 5481: When condition of augment added in constraints of augment target

The patch excludes When, Status, Description and Reference statements
from copying of top augment's nodes.

Change-Id: I72bf65aba09e43799ac619cd4de9ed03230ad071
Signed-off-by: Peter Kajsa <pkajsa@cisco.com>
yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/rfc6020/AugmentUtils.java
yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/stmt/test/Bug5481.java [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/bugs/bug5481/module1.yang [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/bugs/bug5481/module2.yang [new file with mode: 0644]