Fix XmlPatchBodyReader revision handling 09/97209/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 13 Aug 2021 20:14:41 +0000 (22:14 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 13 Aug 2021 20:18:28 +0000 (22:18 +0200)
commitc75fc716f8c60dfdf267d078df66346c95dae7a4
tree90ca4310e4c1d5a65b3248523d874f283e854a1f
parentd6785007a5ed83553aef2b01d8585047e0102671
Fix XmlPatchBodyReader revision handling

There is a nullness bug around the conversions through string and
calling Revision.of(). Our current interfaces allow us to do better,
with fewer objects.

Change-Id: I68163b7b8766e6063a27d280bae9c049a675ac76
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/jersey/providers/patch/XmlPatchBodyReader.java