Skip to content

Commit 2057490

Browse files
committed
refactor(volunteer-apply): Map 변수명 변경
1 parent f2c9506 commit 2057490

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/somemore/domains/volunteerapply/service/VolunteerApplyQueryFacadeService.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ public Page<VolunteerApplyVolunteerInfoResponseDto> getVolunteerAppliesByRecruit
6060
recruitBoardValidator.validateWriter(recruitBoard, centerId);
6161

6262
Page<VolunteerApply> applies = volunteerApplyQueryUseCase.getAllByRecruitId(recruitBoardId, condition);
63-
Map<UUID, VolunteerInfoResponseDto> volunteerMap = getVolunteerInfoMap(applies);
63+
Map<UUID, VolunteerInfoResponseDto> volunteerMapToVolunteerId = getVolunteerInfoMap(applies);
6464

6565
return applies.map(apply -> VolunteerApplyVolunteerInfoResponseDto.of(
6666
apply,
67-
volunteerMap.get(apply.getVolunteerId())
67+
volunteerMapToVolunteerId.get(apply.getVolunteerId())
6868
));
6969
}
7070

@@ -74,11 +74,11 @@ public Page<VolunteerApplyRecruitInfoResponseDto> getVolunteerAppliesByVolunteer
7474
VolunteerApplySearchCondition condition
7575
) {
7676
Page<VolunteerApply> applies = volunteerApplyQueryUseCase.getAllByVolunteerId(volunteerId, condition);
77-
Map<Long, RecruitBoard> boardMap = getRecruitBoardMap(applies);
77+
Map<Long, RecruitBoard> boardMapToId = getRecruitBoardMap(applies);
7878

7979
return applies.map(apply -> VolunteerApplyRecruitInfoResponseDto.of(
8080
apply,
81-
boardMap.get(apply.getRecruitBoardId()))
81+
boardMapToId.get(apply.getRecruitBoardId()))
8282
);
8383
}
8484

0 commit comments

Comments
 (0)