Remove ValueTypeCodec 09/100609/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 14 Apr 2022 11:15:20 +0000 (13:15 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 14 Apr 2022 11:19:14 +0000 (13:19 +0200)
commit6661365ec2950bc7a1beaa313ae5b79b1f328806
tree173c3bc656721c0efb10547e48f78bd696774a44
parent2d6a0b57921b934540c6c198d3351b58e354f98d
Remove ValueTypeCodec

CompositeValueCodec is null-hostile, hence it can directly subclass
AbstractIllegalArgumentCodec. This leaves UnionTypeCodec as the only
ValueTypeCodec -- hence we can remove the indirection, making the type
hierachy crisper.

JIRA: MDSAL-704
Change-Id: I7661263f5dd7684cebcff7af82d76a1fe0d9b1eb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/CompositeValueCodec.java
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/UnionTypeCodec.java
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/ValueTypeCodec.java [deleted file]