mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Fix ctor field init bug, add comments for TaskRetryUtil
This commit is contained in:
parent
dd91b15838
commit
6cc9802024
@ -86,7 +86,7 @@ public class TaskRetryUtil {
|
||||
}
|
||||
this.delay = delay;
|
||||
this.timeOut = 0L;
|
||||
this.timeUnit = TimeUnit.SECONDS;
|
||||
this.timeUnit = timeUnit;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -117,7 +117,7 @@ public class TaskRetryUtil {
|
||||
|
||||
/**
|
||||
* Gets the optional delay before the task should be attempted, may be
|
||||
* zero.
|
||||
* zero. Call getTimeUnit() to get the time unit for the delay.
|
||||
*
|
||||
* @return The delay.
|
||||
*/
|
||||
@ -126,7 +126,8 @@ public class TaskRetryUtil {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the the optional timeout for the task attempt, may be zero.
|
||||
* Gets the the optional timeout for the task attempt, may be zero. Call
|
||||
* getTimeUnit() to get the time unit for the delay.
|
||||
*
|
||||
* @return The timeout.
|
||||
*/
|
||||
@ -136,7 +137,7 @@ public class TaskRetryUtil {
|
||||
|
||||
/**
|
||||
* Gets the time unit for the optional delay before the task should be
|
||||
* attempted and the optional time out.
|
||||
* attempted and/or the optional time out.
|
||||
*
|
||||
* @return The time unit.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user