Skip to content

Commit efb96f3

Browse files
committed
run spotlessApply
1 parent 915f73a commit efb96f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

application/src/main/java/org/togetherjava/tjbot/features/moderation/audit/ModAuditLogRoutine.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ private static Instant computeClosestNextScheduleDate(Instant instant,
154154
List<Instant> scheduleDates = scheduleHours.stream()
155155
.map(hour -> dateAtTime.apply(offsetDateTime, hour))
156156
.collect(Collectors.toCollection(ArrayList::new));
157-
int rolloverHour =
158-
(scheduleHours.getLast() + periodHours) % HOURS_OF_DAY;
157+
int rolloverHour = (scheduleHours.getLast() + periodHours) % HOURS_OF_DAY;
159158
scheduleDates.add(dateAtTime.apply(offsetDateTime.plusDays(1), rolloverHour));
160159

161160
return scheduleDates.stream()

0 commit comments

Comments
 (0)