From 07d552581210c402536f0670331e43267b445de7 Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Wed, 16 Oct 2019 17:04:43 -0400 Subject: replace deprecated addMixInAnnotations addMixInAnnotations(Class, Class) was deprecated use addMixIn instead Issue-ID: APPC-1764 Change-Id: Ic65e1f18a8d427f641a8d36003f29bdbf1b3b58b Signed-off-by: Taka Cho --- .../src/main/java/org/onap/appc/mdsal/impl/MDSALStoreImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appc-dg') diff --git a/appc-dg/appc-dg-shared/appc-dg-mdsal-store/appc-dg-mdsal-bundle/src/main/java/org/onap/appc/mdsal/impl/MDSALStoreImpl.java b/appc-dg/appc-dg-shared/appc-dg-mdsal-store/appc-dg-mdsal-bundle/src/main/java/org/onap/appc/mdsal/impl/MDSALStoreImpl.java index 8f7bfabac..babf59577 100644 --- a/appc-dg/appc-dg-shared/appc-dg-mdsal-store/appc-dg-mdsal-bundle/src/main/java/org/onap/appc/mdsal/impl/MDSALStoreImpl.java +++ b/appc-dg/appc-dg-shared/appc-dg-mdsal-store/appc-dg-mdsal-bundle/src/main/java/org/onap/appc/mdsal/impl/MDSALStoreImpl.java @@ -168,7 +168,7 @@ public class MDSALStoreImpl implements MDSALStore { StoreYangInput input = builder.build(); try { ObjectMapper objectMapper = new ObjectMapper(); - objectMapper.addMixInAnnotations(StoreYangInput.class, MixIn.class); + objectMapper.addMixIn(StoreYangInput.class, MixIn.class); String inputJson = objectMapper.writer().withRootName("input").writeValueAsString(input); logger.debug("Input JSON :" + inputJson); return inputJson; -- cgit 1.2.3-korg