diff options
author | Taka Cho <takamune.cho@att.com> | 2019-10-16 17:04:43 -0400 |
---|---|---|
committer | Taka Cho <takamune.cho@att.com> | 2019-10-16 17:06:59 -0400 |
commit | 07d552581210c402536f0670331e43267b445de7 (patch) | |
tree | 6e1d39c574daed2a649f504c49f7a62ff4020ffa /appc-dg | |
parent | c13a9c95e47b072afb701ad490480036ef36db26 (diff) |
replace deprecated addMixInAnnotations
addMixInAnnotations(Class<?>, Class<?>)
was deprecated
use addMixIn instead
Issue-ID: APPC-1764
Change-Id: Ic65e1f18a8d427f641a8d36003f29bdbf1b3b58b
Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'appc-dg')
-rw-r--r-- | appc-dg/appc-dg-shared/appc-dg-mdsal-store/appc-dg-mdsal-bundle/src/main/java/org/onap/appc/mdsal/impl/MDSALStoreImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |