Use absolute schema node identifier in Deviation.getTargetPath() 05/87805/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 17 Feb 2020 11:34:12 +0000 (12:34 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 17 Feb 2020 11:35:06 +0000 (12:35 +0100)
commitb65b1f942b7f9299cc6cafbf6f4af59d0b5960ce
treec3e8a1d4363bdcbbe2c4686f87b6a53deaaae555
parente992960e2aed5287ee07c3cfe8d596b7e17e669b
Use absolute schema node identifier in Deviation.getTargetPath()

This changes the return value so that it maps directly to argument,
removing a source of SchemaPaths from our APIs.

JIRA: YANGTOOLS-1084
Change-Id: I1718e763558f7ef54fab15f39159c069db7e80b7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/Deviation.java
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/deviation/DeviationEffectiveStatementImpl.java
yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/Bug9242Test.java
yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/DeviationStmtTest.java
yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/EffectiveModuleTest.java
yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/YangParserTest.java
yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/YangParserWithContextTest.java