From a638543f09691a13cea003f8c6336b61a85b82c6 Mon Sep 17 00:00:00 2001 From: Luis Lainez Date: Fri, 26 Apr 2024 18:52:40 +1000 Subject: [PATCH] Spotless --- .../conductor/common/config/ObjectMapperProvider.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/common/src/main/java/com/netflix/conductor/common/config/ObjectMapperProvider.java b/common/src/main/java/com/netflix/conductor/common/config/ObjectMapperProvider.java index 431e04250..cdd685194 100644 --- a/common/src/main/java/com/netflix/conductor/common/config/ObjectMapperProvider.java +++ b/common/src/main/java/com/netflix/conductor/common/config/ObjectMapperProvider.java @@ -12,17 +12,15 @@ */ package com.netflix.conductor.common.config; -import com.fasterxml.jackson.databind.module.SimpleModule; import com.netflix.conductor.common.jackson.JsonProtoModule; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.module.SimpleModule; import com.fasterxml.jackson.module.afterburner.AfterburnerModule; import jakarta.ws.rs.core.MultivaluedHashMap; import jakarta.ws.rs.core.MultivaluedMap; -import org.springframework.util.LinkedMultiValueMap; -import org.springframework.util.MultiValueMap; /** * A Factory class for creating a customized {@link ObjectMapper}. This is only used by the @@ -54,8 +52,7 @@ public ObjectMapper getObjectMapper() { objectMapper.registerModule(new JsonProtoModule()); objectMapper.registerModule(new AfterburnerModule()); SimpleModule module = new SimpleModule(); - module.addAbstractTypeMapping(MultivaluedMap.class, - MultivaluedHashMap.class); + module.addAbstractTypeMapping(MultivaluedMap.class, MultivaluedHashMap.class); objectMapper.registerModule(module); return objectMapper; }