Fix InterningLeafSetNodeBuilder check 67/86567/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 25 Dec 2019 11:23:09 +0000 (12:23 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 25 Dec 2019 11:25:35 +0000 (11:25 +0000)
commitfcb77f8e818d6c6016ffe09b5fd67b20c4789c48
treefb20002998dbca1c1a89487066c4695702d22b18
parenta6ebb50ddc3dbb3dcb279fe5d56d9a8b432ba270
Fix InterningLeafSetNodeBuilder check

The instanceof check is wrong, as pointed out by SpotBugs, as we
want to check for LeafListSchemaNode not LeafSetNode.

Change-Id: If538beca159c100621d5661dc8dced5c1051dfe9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/InterningLeafSetNodeBuilder.java