Terminally deprecate SchemaNode.getPath() 53/97353/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 29 Aug 2021 09:01:21 +0000 (11:01 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 29 Aug 2021 09:04:48 +0000 (11:04 +0200)
commit71ad5da595c694f943a73e7a16148484780117e8
tree5a7fb98f0e5f454d1bc7193a2e01c82f19996e66
parent9e74f2c050dc0d4f0ae6bbb531be8a190cbe8945
Terminally deprecate SchemaNode.getPath()

This method has been on its slow way out. An alternative addressing
construct is presented through EffectiveStatementInference and
SchemaInferenceStack, so all downstreams should be able to migrate with
relative ease now. Add a stern warning with terminal deprecation with
the intent to remove in yangtools-8.

JIRA: YANGTOOLS-1071
Change-Id: Idfbff326eff741fb53af74f35238b999b812993e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/SchemaNode.java