Skip to content

Commit

Permalink
refactor: 서비스단에서 사용하지 않는 레퍼지토리 선언 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
eunsoni committed Oct 23, 2024
1 parent b493e3d commit 0c3bba2
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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
Expand Down

0 comments on commit 0c3bba2

Please sign in to comment.