Inline NamespaceStorageSupport.accessNamespaces() 64/104864/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 13 Mar 2023 18:26:21 +0000 (19:26 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 13 Mar 2023 22:27:44 +0000 (23:27 +0100)
commitf2f58c4a05c511e5f8a886e874180b1d278a1e5b
treef6360c7cc03c087c30cf41c422515cb5a5956785
parent4870e41c076c6a9b25fce9ced20b1c2d0ca97733
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>
(cherry picked from commit 131816618ba0dd44880b58092fc062375f8d7389)
(cherry picked from commit 8e0305de53d206d852245682a3c26a5024b59fca)
parser/yang-parser-reactor/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/NamespaceStorageSupport.java