From 698fdf748bb2e8a6a82cd8af07d64fb317b98fe7 Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Wed, 22 May 2024 14:19:52 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20spring-boot=20profile=EB=B3=84=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20=EC=9D=BD=EC=9D=84=EC=88=98=20=EC=9E=88?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/foundation/boot/CommonConfig.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/cokr/xit/foundation/boot/CommonConfig.java b/src/main/java/cokr/xit/foundation/boot/CommonConfig.java index 7432a10..ee07577 100644 --- a/src/main/java/cokr/xit/foundation/boot/CommonConfig.java +++ b/src/main/java/cokr/xit/foundation/boot/CommonConfig.java @@ -8,7 +8,6 @@ import java.util.stream.Collectors; import org.egovframe.rte.fdl.cmmn.trace.LeaveaTrace; import org.egovframe.rte.fdl.property.impl.EgovPropertyServiceImpl; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @@ -25,8 +24,11 @@ import com.fasterxml.jackson.databind.ObjectMapper; @Configuration @ComponentScan(basePackages = "cokr.xit") public class CommonConfig { - @Autowired - Environment env; + final Environment env; + + public CommonConfig(Environment env) { + this.env = env; + } /**AntPathMatcher를 반환한다. * @return AntPathMatcher