make AbstractStreamWriterGenerator loadSerializerFor() delegate 52/71852/4
authorMichael Vorburger <vorburger@redhat.com>
Tue, 8 May 2018 15:22:46 +0000 (17:22 +0200)
committerMichael Vorburger <vorburger@redhat.com>
Wed, 9 May 2018 11:54:40 +0000 (13:54 +0200)
commitebad4b233a0f77232b48e4c1958ca0c15c132930
treec17788272b5069d5160b04f91c88cfd2b3cec14b
parente5eae62db640d876873973a6cfc32621d3651025
make AbstractStreamWriterGenerator loadSerializerFor() delegate

to the getSerializer() instead of copy/pasting
implementations.getUnchecked(), so that we can possibly add logging
and/or locking in a single place in the future.

JIRA: MDSAL-213
Change-Id: Ida9b0cb387933f83903e0a8d716087959f4d5c4e
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/gen/impl/AbstractStreamWriterGenerator.java