helper icon indicating copy to clipboard operation
helper copied to clipboard

Clean up some redundant logic in Expiring cache

Open Antony1060 opened this issue 2 years ago • 0 comments

I noticed that the whole check for nanos == 0 can be avoided if this.expirationNanos is initialized as System.nanoTime().

Please correct me if I'm wrong.

Antony1060 avatar Jul 15 '22 19:07 Antony1060