Skip to content

Commit f9c3dea

Browse files
committed
(fixed some comment that spotless wrapped ugly)
1 parent 90d5544 commit f9c3dea

File tree

1 file changed

+3
-5
lines changed
  • application/src/main/java/org/togetherjava/tjbot/features

1 file changed

+3
-5
lines changed

application/src/main/java/org/togetherjava/tjbot/features/Routine.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,9 @@ public static Schedule atFixedHour(int hourOfDay) {
102102
*/
103103
public static Schedule atFixedRateFromNextFixedTime(int periodStartHour, int periodHours) {
104104
// NOTE This scheduler could be improved, for example supporting arbitrary periods (not
105-
// just
106-
// hour-based). Also, it probably does not correctly handle all date/time-quirks, for
107-
// example if a schedule would hit a time that does not exist for a specific date due to
108-
// DST
109-
// or similar issues. Those are minor though and can be ignored for now.
105+
// just hour-based). Also, it probably does not correctly handle all date/time-quirks,
106+
// for example if a schedule would hit a time that does not exist for a specific date
107+
// due to DST or similar issues. Those are minor though and can be ignored for now.
110108
if (periodStartHour < 0 || periodStartHour >= HOURS_OF_DAY) {
111109
throw new IllegalArgumentException(
112110
"Schedule period start hour must be a valid hour of a day (0-23)");

0 commit comments

Comments
 (0)