HADOOP-17619: Fix DelegationTokenRenewer#updateRenewalTime java doc error. (#2846). Contributed by Qi Zhu.
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
parent
96e410a127
commit
5eaa1b7230
@ -107,7 +107,7 @@ public boolean equals(final Object that) {
|
||||
* Set a new time for the renewal.
|
||||
* It can only be called when the action is not in the queue or any
|
||||
* collection because the hashCode may change
|
||||
* @param newTime the new time
|
||||
* @param delay the renewal time
|
||||
*/
|
||||
private void updateRenewalTime(long delay) {
|
||||
renewalTime = Time.now() + delay - delay/10;
|
||||
|
Loading…
Reference in New Issue
Block a user