Inline NamespaceStorageSupport.accessNamespaces() 56/104856/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 13 Mar 2023 18:26:21 +0000 (19:26 +0100)
committerRobert Varga <nite@hq.sk>
Mon, 13 Mar 2023 19:06:09 +0000 (19:06 +0000)
commit131816618ba0dd44880b58092fc062375f8d7389
tree004e879139de3638fb9c9a7ac8894abde71badee
parent0b1fb0b77af5eecca184f6d390ff2c9af14457ba
Inline NamespaceStorageSupport.accessNamespaces()

We have multiple callers, but all of duplicate the functionality
of getLocalNamespace(). Inline accessNamespaces() into
getLocalNamespace() and adjust users to use that instead duplicating its
code.

This removes a the need for a number of warning suppressions and makes
it clearer as to what is going on.

Change-Id: Ia210c6275b64093063eaf58a67412e94c3a29419
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
parser/yang-parser-reactor/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/NamespaceStorageSupport.java