BUG-865: deprecate Module#getSource() 03/32003/2
authorRobert Varga <robert.varga@pantheon.sk>
Sat, 2 Jan 2016 13:35:36 +0000 (14:35 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 4 Jan 2016 16:22:08 +0000 (16:22 +0000)
commitc74b9e919a4af1a31155edeb1d9f84f31518c938
tree2ca9a6b21dd6a974d629de134d0df41eddfa8d50
parent144d2e9438c1aed67e1cfd5f0c611db0e3463520
BUG-865: deprecate Module#getSource()

This method requires implementation to provide YANG text, which is not
always available. SchemaRepository provides the right abstractions for
acquiring the source in the required representation.

Change-Id: Ib769948e3fefc4f1a086f3620a7326fb076f7f95
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/Module.java