Eliminate ValueTypeCodec.encapsulatedValueCodecFor()
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 11 Apr 2022 14:29:53 +0000 (16:29 +0200)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 19 Jun 2024 00:41:39 +0000 (10:41 +1000)
commit69e37a94a8b4f71c6f82d233ec76cc143392ae3b
treef6e76de6b6817648fc360671dbbf7d039e5e7251
parent2e19d0d3336ea78cb6f5857594a81bd590f0356b
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