helper
helper copied to clipboard
Clean up some redundant logic in Expiring cache
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.