do not call the other wrapper, call the real method directly

This commit is contained in:
2025-07-30 13:38:22 +02:00
parent c3be3892bd
commit ccb9c06f98

View File

@@ -363,7 +363,7 @@ public class LoadingBar {
return MIN_LUNCH_DURATION; return MIN_LUNCH_DURATION;
} }
long totalDuration = startTime.until(endTime, ChronoUnit.MINUTES); long totalDuration = startTime.until(endTime, ChronoUnit.MINUTES);
int effectiveLunchDuration = ((int) totalDuration) - MAX_NUMBER_WORK_MINS_WITHOUT_LUNCH; long effectiveLunchDuration = totalDuration - MAX_NUMBER_WORK_MINS_WITHOUT_LUNCH;
return getMinLunchDuration(effectiveLunchDuration); return getMinLunchDuration(effectiveLunchDuration);
} }