Refactor IdentifierNamespace 05/95805/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 19 Apr 2021 08:12:07 +0000 (10:12 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 19 Apr 2021 08:15:39 +0000 (10:15 +0200)
commitfec95fb7669d2fd38bc4de5e89b4eebfc23c04ec
tree41cbb93441d1cf90a42094bfb3509de36c814ef9
parentd7ff6f94e87a431786d6731d951e876c2b6dfc7e
Refactor IdentifierNamespace

IdentifierNamespace.get() is not used anywhere, hence remove this
method. Furthermore this class is only used for specifying a key, hence
make sure it is an abstract class without the possibility of
instantiating.

JIRA: YANGTOOLS-1205
Change-Id: I56f22af2d4bb21caab5dd47da6dfa1b1753777cd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/meta/IdentifierNamespace.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/stmt/EffectiveStatementNamespace.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/stmt/ModuleEffectiveStatement.java