Allow rebinding the prefix of an UnresolvedQName 71/98171/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 27 Oct 2021 21:12:14 +0000 (23:12 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Oct 2021 11:26:19 +0000 (13:26 +0200)
commita3d67093f609c01cf4ed64eb674bbaf1fb5ad7f8
treef317c43ada218aa6a674e1897ea27f21184c1c6c
parente8b788e0ccc8e0a0499dedb5cb85d642cf5c9c22
Allow rebinding the prefix of an UnresolvedQName

There are callers who are dealing with prefix being optional, possibly
added (or changed) in a later context. Add the ability to do that
without re-validating the local name.

JIRA: YANGTOOLS-1359
Change-Id: I099589d8a579f854dcc0ae1740027e7af24470bf
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 840bcc965c8eeb566d8cebd870f35e1be85cc617)
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/QualifiedQName.java
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/UnqualifiedQName.java