Skip to content

Commit

Permalink
style: 주석으로 함수 이름에 대한 추가 설명
Browse files Browse the repository at this point in the history
  • Loading branch information
fnzl54 committed Oct 25, 2023
1 parent 7c9ff3e commit f213d28
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,13 @@ public List<BookSearchRes> toSearchDtoList(List<BookDocument> books){
.map(this::toBookSearchDto)
.collect(Collectors.toList());
}
// toPageDtoList = toBookSearchResDtoPage
public Page<BookSearchRes> toPageDtoList(Page<BookDocument> books) {
return new PageImpl<>(books.stream()
.map(this::toBookSearchDto)
.collect(Collectors.toList()));
}

// toPageDtoList2 = BookSearchLikeResDtoPage
public Page<BookSearchLikeRes> toPageDtoList2(Page<Book> books) {
return new PageImpl<>(books.stream()
.map(this::toBookSearchLikeDto)
Expand Down

0 comments on commit f213d28

Please sign in to comment.