Eliminate ValueTypeCodec.encapsulatedValueCodecFor() 36/100536/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 11 Apr 2022 14:29:53 +0000 (16:29 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 11 Apr 2022 14:49:44 +0000 (16:49 +0200)
commitbb50b3286bc197acce20694082c0f65a04a7ca2a
tree36c371ab83595fd4202115b40d428804a6c542a3
parent92b63c7819f73e531971c7d4b922e203611fd2a8
Eliminate ValueTypeCodec.encapsulatedValueCodecFor()

There are only two call sites in the same method, inline it and remove
the unnecessary indirection through ValueTypeCodec -- which any reason
for existence except binding IllegalArgumentCodec vtable.

JIRA: MDSAL-704
Change-Id: I11cd0b4f08a1cb8dacd1f66fec9070102ba47889
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/BindingCodecContext.java
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/ValueTypeCodec.java