Add explicit comment to denote idempotence of method call.
This commit is contained in:
1 parent
7de3e55d58
commit
df9c0c2704
1 file changed
+1
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user