BUG-6022: retain order of constituent types 72/42072/4
authorRobert Varga <rovarga@cisco.com>
Tue, 19 Jul 2016 17:08:01 +0000 (19:08 +0200)
committerRobert Varga <nite@hq.sk>
Wed, 20 Jul 2016 08:23:06 +0000 (08:23 +0000)
commitddf364baa83f50fa2be513df61b19f50831d0250
tree60de0d257b9cf10cb579918185ee957bf8043fbe
parentd45dd5d072f73759a08e288869a2961c170749b1
BUG-6022: retain order of constituent types

In order to safely iterate over the types, we need
to retain their order from the SchemaNode. Use
a LinkedHashSet to achieve that.

Change-Id: I850f823a0b67dc9bc3e6b75f9a1c671e4bbf73d9
Signed-off-by: Robert Varga <rovarga@cisco.com>
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/yangtools/binding/data/codec/impl/UnionTypeCodec.java