Collapse SchemaContextUtil.typeDefinition() 40/86640/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 21:18:16 +0000 (22:18 +0100)
commit8cc9d514dbb369fea21c31c78f66b1fed68805e9
treee2eab52bfee4535755596d44e227cea0230b5367
parent039c7336bcd40557576c3d95acc66f13812fc54b
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>
(cherry picked from commit 12c1e8fdac8294e5636dd82b8b2c39a3d3a8c3f5)
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/SchemaContextUtil.java