mirror of
https://github.com/garbagemule/MobArena.git
synced 2025-02-10 09:31:47 +01:00
Add explicit comment to denote idempotence of method call.
This commit is contained in:
parent
7de3e55d58
commit
df9c0c2704
@ -65,6 +65,7 @@ public class StartDelayTimer extends CountdownTimer implements TimerCallback {
|
|||||||
if (super.getDuration() > 0) {
|
if (super.getDuration() > 0) {
|
||||||
super.start();
|
super.start();
|
||||||
} else {
|
} else {
|
||||||
|
// Idempotent
|
||||||
autoStartTimer.start();
|
autoStartTimer.start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user