avoid method name confusion

This commit is contained in:
2025-08-26 09:41:10 +02:00
parent f97f4f86d3
commit 29807d7eaf

View File

@@ -85,36 +85,36 @@ public abstract class AbstractLoadingBar {
public void showLoadingBar() { public void showLoadingBar() {
showLoadingBar(false, false, 0); realShowLoadingBar(false, false, 0);
} }
public void showLoadingBar(boolean debug, boolean passedMinutesZero) { public void showLoadingBar(boolean debug, boolean passedMinutesZero) {
showLoadingBar(debug, passedMinutesZero, 100L); realShowLoadingBar(debug, passedMinutesZero, 100L);
} }
public void showLoadingBarDebug() { public void showLoadingBarDebug() {
showLoadingBar(true, true, 100L); realShowLoadingBar(true, true, 100L);
} }
public void showLoadingBarDebug(long millisWaiting) { public void showLoadingBarDebug(long millisWaiting) {
showLoadingBar(true, true, millisWaiting); realShowLoadingBar(true, true, millisWaiting);
} }
public void showLoadingBarDebug(boolean passedMinutesZero) { public void showLoadingBarDebug(boolean passedMinutesZero) {
showLoadingBar(true, passedMinutesZero, 100L); realShowLoadingBar(true, passedMinutesZero, 100L);
} }
public void showLoadingBarDebug(boolean passedMinutesZero, long millisWaiting) { public void showLoadingBarDebug(boolean passedMinutesZero, long millisWaiting) {
showLoadingBar(true, passedMinutesZero, millisWaiting); realShowLoadingBar(true, passedMinutesZero, millisWaiting);
} }
private void showLoadingBar(boolean debug, boolean passedMinutesZero, long millisWaiting) { private void realShowLoadingBar(boolean debug, boolean passedMinutesZero, long millisWaiting) {
long passedMinutes = getPassedMinutes(debug && passedMinutesZero); long passedMinutes = getPassedMinutes(debug && passedMinutesZero);
if (passedMinutes > totalMinutes) { if (passedMinutes > totalMinutes) {
passedMinutes = totalMinutes; passedMinutes = totalMinutes;