Do not use RestUtil.resolveBaseTypeFrom() 57/100557/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 12 Apr 2022 16:06:10 +0000 (18:06 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 12 Apr 2022 16:08:46 +0000 (18:08 +0200)
commitbbbd3c4e766d31d63446f43e40545cd0758dab08
treeb8cec70858313435f0e9aa4f69389a6ec46783cb
parenta29cae6956db139b53518a50ecfc735c347629a9
Do not use RestUtil.resolveBaseTypeFrom()

Derived types have been using their proper type for a long time now
and there is essentially cannot be a semantic difference between a
derived/restricted type which would make any difference during
resolution. Ditch the base type lookup and just use the type at hand.

JIRA: NETCONF-837
Change-Id: I21afc3ac15c954358f62070065531e75ff360924
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/utils/parser/YangInstanceIdentifierDeserializer.java