Bug 9241: Action definition should implicitly define input/output 98/64298/1
authorIgor Foltin <igor.foltin@pantheon.tech>
Fri, 13 Oct 2017 10:02:58 +0000 (12:02 +0200)
committerIgor Foltin <igor.foltin@pantheon.tech>
Mon, 16 Oct 2017 11:06:22 +0000 (13:06 +0200)
commita18332f3da94c2b958df963eec39629c7d3acb8f
tree47fadb2e41bf1e14901f92dad1b7128153e37d21
parenta29074a22e3f306fbce9d35e7ab9348adaf455aa
Bug 9241: Action definition should implicitly define input/output

Empty input and output statements are now automatically added to
every action statement that does not declare them explicitly.

Change-Id: I41c037657e83b8e53d314d9b9c6c691ef99e993f
Signed-off-by: Igor Foltin <igor.foltin@pantheon.tech>
yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/rfc7950/ActionStatementImpl.java
yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/parser/stmt/rfc7950/Bug9241Test.java [new file with mode: 0644]
yang/yang-parser-impl/src/test/resources/rfc7950/bug9241/foo.yang [new file with mode: 0644]