Skip to content

Commit

Permalink
[FIX]안쓰는 함수 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
Hong0329 authored Jan 4, 2024
1 parent 5911636 commit 5969d62
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,4 @@ public SeedAlarmGetResponseDto getSeedAlarm(Long memberId) {

return SeedAlarmGetResponseDto.of(seedCount);
}

private Seed findEarliestSeed(List<Seed> seeds) {
return seeds.stream()
.min(Comparator.comparing(Seed::getLockDate))
.orElse(null);
}

private int calculateDaysRemaining(LocalDate now, LocalDate localDate) {
return (int) ChronoUnit.DAYS.between(now, localDate);
}
}

0 comments on commit 5969d62

Please sign in to comment.