From a92d9b714b254fc2ccec73efe5a8b1557091971e Mon Sep 17 00:00:00 2001 From: Felix Dittrich Date: Thu, 24 Jun 2021 17:26:52 +0200 Subject: [PATCH] Remove ObjectMapperConfig --- .../connector/config/ObjectMapperConfig.java | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 src/main/java/eu/europa/ec/dgc/gateway/connector/config/ObjectMapperConfig.java diff --git a/src/main/java/eu/europa/ec/dgc/gateway/connector/config/ObjectMapperConfig.java b/src/main/java/eu/europa/ec/dgc/gateway/connector/config/ObjectMapperConfig.java deleted file mode 100644 index 5e6267a..0000000 --- a/src/main/java/eu/europa/ec/dgc/gateway/connector/config/ObjectMapperConfig.java +++ /dev/null @@ -1,36 +0,0 @@ -/*- - * ---license-start - * EU Digital Green Certificate Gateway Service / dgc-lib - * --- - * Copyright (C) 2021 T-Systems International GmbH and all other contributors - * --- - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ---license-end - */ - -package eu.europa.ec.dgc.gateway.connector.config; - -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; - -@Configuration -public class ObjectMapperConfig { - - @Bean - ObjectMapper objectMapper() { - return new ObjectMapper() - .registerModule(new JavaTimeModule()); - } -}