Lower codec instantiation scope 30/97230/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 13 Aug 2021 19:59:42 +0000 (21:59 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 17 Aug 2021 09:50:43 +0000 (11:50 +0200)
commit14eb174ae392406b3b0b2981c6829042a871208d
tree0b0166d367012342bbd3e5404dc74a864f71d2e5
parentc674a6bbd1105fb58c0fa779781499fda20d4fd9
Lower codec instantiation scope

Do not instantiate codec until we really need it. This also
short-circuits some of the other setup code.

Change-Id: I1b38951699395f18fe961e3c752a8bd8dde5eac5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit d6785007a5ed83553aef2b01d8585047e0102671)
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlToPatchBodyReader.java