From eff996323ed0d096b359968d71368a7ec9657a17 Mon Sep 17 00:00:00 2001 From: chentianming Date: Thu, 5 May 2022 23:05:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4JacksonAutoConfiguration?= =?UTF-8?q?=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../spring/boot/config/RetrofitAutoConfiguration.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/com/github/lianjiatech/retrofit/spring/boot/config/RetrofitAutoConfiguration.java b/src/main/java/com/github/lianjiatech/retrofit/spring/boot/config/RetrofitAutoConfiguration.java index 96b09c6..0cfc163 100644 --- a/src/main/java/com/github/lianjiatech/retrofit/spring/boot/config/RetrofitAutoConfiguration.java +++ b/src/main/java/com/github/lianjiatech/retrofit/spring/boot/config/RetrofitAutoConfiguration.java @@ -6,11 +6,9 @@ import java.util.concurrent.TimeUnit; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.autoconfigure.AutoConfigureAfter; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; -import org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @@ -40,7 +38,6 @@ import io.github.resilience4j.circuitbreaker.CircuitBreaker; import io.github.resilience4j.circuitbreaker.CircuitBreakerRegistry; -import lombok.extern.slf4j.Slf4j; import okhttp3.ConnectionPool; import retrofit2.converter.jackson.JacksonConverterFactory; @@ -49,8 +46,6 @@ */ @Configuration @EnableConfigurationProperties(RetrofitProperties.class) -@AutoConfigureAfter({JacksonAutoConfiguration.class}) -@Slf4j public class RetrofitAutoConfiguration { private final RetrofitProperties retrofitProperties;