Deprecate ImmutableNodes.fromInstanceId() with deepestElement 49/99249/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 10 Jan 2022 12:25:59 +0000 (13:25 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 10 Jan 2022 12:34:03 +0000 (13:34 +0100)
commitfaf7ce6d1e3acb2af2b846746e8495749301b484
tree4dd7410a161c33102bda2b20ec5a9b29649cdc50
parent1fff58dc4bee0df39b9c600f2291f98b18d7dc55
Deprecate ImmutableNodes.fromInstanceId() with deepestElement

The two methods allowing an override of the deepest element have only a
single user, which is broken by their semantics. Deprecate them for
removal, so that we flush out anyone else still relying on them.

JIRA: YANGTOOLS-1389
Change-Id: I52e8bdebc5488d095645a7bfb45a5c9cf400ecb0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
data/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/ImmutableNodes.java
data/yang-data-impl/src/test/java/org/opendaylight/yangtools/yang/data/impl/schema/InstanceIdToNodesTest.java