Use a constant ObjectMapper in UpdateNotificationDeser 53/86053/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Nov 2019 12:57:04 +0000 (13:57 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 28 Nov 2019 20:19:00 +0000 (21:19 +0100)
commitf409d66034d69fbdd19dc109d4b9ab1a6775bc47
tree26f72f5d450f4c4b7204d9bb4a7592fb468a6385
parent7aac912b2e27b36a97f422e55b796cb3ba082dd0
Use a constant ObjectMapper in UpdateNotificationDeser

Rather than instantiating a fresh mapper for each request,
share a single pre-configured instance.

Change-Id: I231165f82dc950ae9e3adbfb816da123139cc878
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 4402e56b96f9d64e23efec322c42e6d2d7d5f3bb)
library/impl/src/main/java/org/opendaylight/ovsdb/lib/notation/json/Converter.java