Collapse SchemaContextUtil.typeDefinition() 24/86624/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 30 Dec 2019 11:36:34 +0000 (12:36 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 30 Dec 2019 12:12:53 +0000 (13:12 +0100)
commit12c1e8fdac8294e5636dd82b8b2c39a3d3a8c3f5
treea2f204678375526e498505227bbeb0ae0f79fc4c
parent0236f96b973675555087801c0d786d7f19eee8f1
Collapse SchemaContextUtil.typeDefinition()

We have TypedDataSchemaNode to hold the leaf/leaf-list trait of
having a type. This allows us to ditch some code duplication.

Change-Id: I959ff6a8f997e557736a081f89df6c16b69e1270
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/SchemaContextUtil.java