expiringmap
expiringmap copied to clipboard
Fixed expiringEntryLoader example documentation
The sample documentation on lazy, variable expiration entry loading is not correct. Fixed the right method and added object types to the lambda. Without those, the type of address
cannot be inferred, and new Connection(String)
will complain that it cannot cast from Object
to String
.
Coverage remained the same at 68.539% when pulling 966efe9a90b124d1d59fa8d5cee71615053ed535 on cdekker:master into 41cb913a95fc60c730d532c8e3734257e689a25d on jhalterman:master.
Which compiler / JDK are you using? This compiles fine for me on JDK 8.