Bug 6419: Fixed SchemaContextEmitter's emitContainer method 54/44054/1
authorIgor Foltin <ifoltin@cisco.com>
Mon, 15 Aug 2016 13:14:56 +0000 (15:14 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 16 Aug 2016 09:53:29 +0000 (09:53 +0000)
commit144b030074a4ce47046c900ea4b2c06cc2adf74b
tree2d3bd1a252d019c0f44ec0d9e6076c6f6109e46a
parent5e87e9104429501a7fd0f47c2ad36c7963bf4883
Bug 6419: Fixed SchemaContextEmitter's emitContainer method

Method emitContainer now emits must statements only once
through the method emitConstraints.

Change-Id: Ib818d7dc25b07df3f35559166a0ef933d19808d0
Signed-off-by: Igor Foltin <ifoltin@cisco.com>
(cherry picked from commit a664580e83425f01943698e7ff52e48bd3411cfb)
yang/yang-model-export/src/main/java/org/opendaylight/yangtools/yang/model/export/SchemaContextEmitter.java
yang/yang-model-export/src/test/resources/schema-context-emitter-test/foo.xml