Speed up DataContainerCodecPrototype.get() a bit 17/81717/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 23 Apr 2019 09:38:33 +0000 (11:38 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 23 Apr 2019 13:44:08 +0000 (13:44 +0000)
commit4cef664606625657c926bbf75c4bef284b3c2fdb
tree8c49a392a4b8c74edb31f341dee97235b76aed71
parent241855474b6476d66a82634fac9a8676bbc3ebee
Speed up DataContainerCodecPrototype.get() a bit

We can use less byte code to initialize both the local handle
and the cache field.

Change-Id: I362d0125836c6d962c4366c03ba76ae244fc54e5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit d4e362b68ea1cc5785bd6a01dff25dddb1213d81)
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/DataContainerCodecPrototype.java