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:
zhuqi 2021-04-04 17:22:03 +08:00 committed by GitHub
parent 96e410a127
commit 5eaa1b7230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;