From 0c3bba29e379c670ad03c7cb7cfed5e357d9cb23 Mon Sep 17 00:00:00 2001 From: eunsoni Date: Wed, 23 Oct 2024 15:13:49 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=84=9C=EB=B9=84=EC=8A=A4?= =?UTF-8?q?=EB=8B=A8=EC=97=90=EC=84=9C=20=EC=82=AC=EC=9A=A9=ED=95=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=A0=88=ED=8D=BC=EC=A7=80?= =?UTF-8?q?=ED=86=A0=EB=A6=AC=20=EC=84=A0=EC=96=B8=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../guardGuideline/service/GuardGuidelineService.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/com/example/sinitto/guardGuideline/service/GuardGuidelineService.java b/src/main/java/com/example/sinitto/guardGuideline/service/GuardGuidelineService.java index bc40e0f6..df5ee9a2 100644 --- a/src/main/java/com/example/sinitto/guardGuideline/service/GuardGuidelineService.java +++ b/src/main/java/com/example/sinitto/guardGuideline/service/GuardGuidelineService.java @@ -15,7 +15,6 @@ import com.example.sinitto.guardGuideline.exception.SeniorAndGuardMemberMismatchException; import com.example.sinitto.guardGuideline.repository.GuardGuidelineRepository; import com.example.sinitto.member.entity.Senior; -import com.example.sinitto.member.repository.MemberRepository; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -27,13 +26,11 @@ public class GuardGuidelineService { private final GuardGuidelineRepository guardGuidelineRepository; private final SeniorRepository seniorRepository; private final CallbackRepository callbackRepository; - private final MemberRepository memberRepository; - public GuardGuidelineService(GuardGuidelineRepository guardGuidelineRepository, SeniorRepository seniorRepository, CallbackRepository callbackRepository, MemberRepository memberRepository) { + public GuardGuidelineService(GuardGuidelineRepository guardGuidelineRepository, SeniorRepository seniorRepository, CallbackRepository callbackRepository) { this.guardGuidelineRepository = guardGuidelineRepository; this.seniorRepository = seniorRepository; this.callbackRepository = callbackRepository; - this.memberRepository = memberRepository; } @Transactional