Skip to content

Commit 6c8230b

Browse files
committed
refactor: Qualifier 삭제
1 parent 678c3a2 commit 6c8230b

File tree

5 files changed

+0
-10
lines changed

5 files changed

+0
-10
lines changed

src/main/java/com/somemore/center/repository/NEWCenterRepositoryImpl.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import com.somemore.center.domain.NEWCenter;
55
import com.somemore.center.domain.QNEWCenter;
66
import lombok.RequiredArgsConstructor;
7-
import org.springframework.beans.factory.annotation.Qualifier;
87
import org.springframework.stereotype.Repository;
98

109
import java.util.Optional;
@@ -14,7 +13,6 @@
1413
@RequiredArgsConstructor
1514
public class NEWCenterRepositoryImpl implements NEWCenterRepository {
1615

17-
@Qualifier("newCenterJpaRepository")
1816
private final NEWCenterJpaRepository NEWCenterJpaRepository;
1917
private final JPAQueryFactory queryFactory;
2018

src/main/java/com/somemore/center/service/NEWRegisterCenterService.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import com.somemore.center.repository.NEWCenterRepository;
55
import com.somemore.center.usecase.NEWRegisterCenterUseCase;
66
import lombok.RequiredArgsConstructor;
7-
import org.springframework.beans.factory.annotation.Qualifier;
87
import org.springframework.stereotype.Service;
98
import org.springframework.transaction.annotation.Transactional;
109

@@ -15,7 +14,6 @@
1514
@Transactional
1615
public class NEWRegisterCenterService implements NEWRegisterCenterUseCase {
1716

18-
@Qualifier("newCenterRepository")
1917
private final NEWCenterRepository NEWCenterRepository;
2018

2119
@Override

src/main/java/com/somemore/domains/volunteer/repository/VolunteerRepositoryImpl.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import com.somemore.domains.volunteer.repository.mapper.VolunteerOverviewForRankingByHours;
1111
import com.somemore.domains.volunteer.repository.mapper.VolunteerSimpleInfo;
1212
import lombok.RequiredArgsConstructor;
13-
import org.springframework.beans.factory.annotation.Qualifier;
1413
import org.springframework.stereotype.Repository;
1514

1615
import java.util.List;
@@ -21,7 +20,6 @@
2120
@Repository("oldVolunteerRepository")
2221
public class VolunteerRepositoryImpl implements VolunteerRepository {
2322

24-
@Qualifier("oldVolunteerJpaRepository")
2523
private final VolunteerJpaRepository volunteerJpaRepository;
2624
private final JPAQueryFactory queryFactory;
2725

src/main/java/com/somemore/volunteer/repository/NEWVolunteerRepositoryImpl.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import com.somemore.volunteer.domain.NEWVolunteer;
66
import com.somemore.volunteer.domain.QNEWVolunteer;
77
import lombok.RequiredArgsConstructor;
8-
import org.springframework.beans.factory.annotation.Qualifier;
98
import org.springframework.stereotype.Repository;
109

1110
import java.util.Optional;
@@ -15,7 +14,6 @@
1514
@RequiredArgsConstructor
1615
public class NEWVolunteerRepositoryImpl implements NEWVolunteerRepository {
1716

18-
@Qualifier("newVolunteerJpaRepository")
1917
private final NEWVolunteerJpaRepository NEWVolunteerJpaRepository;
2018
private final JPAQueryFactory queryFactory;
2119

src/main/java/com/somemore/volunteer/service/NEWRegisterVolunteerService.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import com.somemore.volunteer.repository.NEWVolunteerRepository;
55
import com.somemore.volunteer.usecase.NEWRegisterVolunteerUseCase;
66
import lombok.RequiredArgsConstructor;
7-
import org.springframework.beans.factory.annotation.Qualifier;
87
import org.springframework.stereotype.Service;
98
import org.springframework.transaction.annotation.Transactional;
109

@@ -15,7 +14,6 @@
1514
@Transactional
1615
public class NEWRegisterVolunteerService implements NEWRegisterVolunteerUseCase {
1716

18-
@Qualifier("newVolunteerRepository")
1917
private final NEWVolunteerRepository NEWVolunteerRepository;
2018

2119
@Override

0 commit comments

Comments
 (0)