BUG-4638: do not rely on yang.model.util Types 89/29789/4
authorRobert Varga <robert.varga@pantheon.sk>
Mon, 16 Nov 2015 22:59:28 +0000 (23:59 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 18 Nov 2015 13:09:12 +0000 (13:09 +0000)
commit90d3d774a8a797efd27aee294a1230619cd42c94
tree831c5b4b076ce5be01767e052f5d3e2c67fd45de
parent1ca40c5df43f39ce0bb4cfc080469adb5872da8c
BUG-4638: do not rely on yang.model.util Types

Implementation and tests should not rely on a specific base type, but
should rather check for TypeDefinition interface.

Change-Id: Icd99b3f1f2c703a124c92169dbe60cabe2d2b797
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/leafref/LeafRefContextTreeBuilder.java
yang/yang-data-impl/src/test/java/org/opendaylight/yangtools/yang/data/impl/codec/xml/XmlStreamUtilsTest.java
yang/yang-data-impl/src/test/java/org/opendaylight/yangtools/yang/data/impl/codec/xml/retest/XmlStreamUtilsTest.java