Skip to content

Commit

Permalink
refactor(BoardUpdateService): 사용하지 않는 로깅 코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
mingmingmon committed Dec 22, 2024
1 parent 35f0975 commit 7fd88ae
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

@Service
@RequiredArgsConstructor
@Slf4j
public class BoardUpdateService implements UpdateBoardUseCase {

private final RetrieveBoardPort retrieveBoardPort;
Expand Down Expand Up @@ -82,10 +81,6 @@ public void updateBoardHashtag(Board board, List<Long> newHashtagIds, List<Board
List<Long> currentHashtagIds = getCurrentHashtagIds(currentBoardHashtags);
List<Long> hashtagsToRemove = findHashtagsToRemove(currentHashtagIds, newHashtagIds);
List<Long> hashtagsToAdd = findHashtagsToAdd(newHashtagIds, currentHashtagIds, currentBoardHashtags);
log.info("Current Hashtag IDs: {}", currentHashtagIds);
log.info("Hashtags to Remove: {}", hashtagsToRemove);
log.info("Hashtags to Add: {}", hashtagsToAdd);


removeHashtags(hashtagsToRemove, currentBoardHashtags);
addHashtags(board.getId(), hashtagsToAdd, currentBoardHashtags);
Expand Down

0 comments on commit 7fd88ae

Please sign in to comment.