Skip to content

Commit

Permalink
refactor: 일반적으로 사용되는 메서드 명명법 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ikjo39 committed Oct 19, 2024
1 parent 79fca9d commit 3769f63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ public static List<CandidateSchedule> mergeContinuous(
.takeWhile(i -> i == headIdx || isSequential(i, sortedSchedules, isContinuous))
.map(sortedSchedules::get)
.toList();
addWhenLongerOrEqualThanMinTime(subList, mergedSchedules, minSize);
addIfLongerThanOrEqualToMinTime(subList, mergedSchedules, minSize);
idx += subList.size();
}
return mergedSchedules;
}

private static void addWhenLongerOrEqualThanMinTime(
private static void addIfLongerThanOrEqualToMinTime(
List<CandidateSchedule> subList, List<CandidateSchedule> mergedSchedules, int minSize
) {
if (minSize <= subList.size()) {
Expand Down

0 comments on commit 3769f63

Please sign in to comment.