From a9a17731b291c9cb8a4fe7d297bda70d66a90a81 Mon Sep 17 00:00:00 2001 From: tanghc Date: Thu, 12 Nov 2020 11:35:48 +0800 Subject: [PATCH] 4.2.0 --- .../com/gitee/sop/websiteserver/config/WebsiteConfig.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sop-website/sop-website-server/src/main/java/com/gitee/sop/websiteserver/config/WebsiteConfig.java b/sop-website/sop-website-server/src/main/java/com/gitee/sop/websiteserver/config/WebsiteConfig.java index a6b9c24f..995d9c21 100644 --- a/sop-website/sop-website-server/src/main/java/com/gitee/sop/websiteserver/config/WebsiteConfig.java +++ b/sop-website/sop-website-server/src/main/java/com/gitee/sop/websiteserver/config/WebsiteConfig.java @@ -8,13 +8,10 @@ import com.gitee.sop.gatewaycommon.manager.EnvironmentContext; import com.gitee.sop.gatewaycommon.route.RegistryListener; import com.gitee.sop.gatewaycommon.route.ServiceListener; import com.gitee.sop.websiteserver.listener.ServiceDocListener; -import com.gitee.sop.websiteserver.manager.DocManager; import com.gitee.sop.websiteserver.service.impl.EurekaServerService; import com.gitee.sop.websiteserver.service.impl.NacosServerService; import org.springframework.beans.BeansException; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.ApplicationArguments; -import org.springframework.boot.ApplicationRunner; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.http.HttpMessageConverters; @@ -36,9 +33,6 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; @Configuration public class WebsiteConfig implements WebMvcConfigurer, EnvironmentAware, ApplicationContextAware { - @Autowired - DocManager docManager; - @Autowired private RegistryListener registryListener;