Reputation: 963
I've just download the last release guava
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>20.0-hal</version>
</dependency>
and I see that the class MapMaker does not have anymore the method expiration
which I found it useful and I have not found any replacement method.
Upvotes: 1
Views: 1089
Reputation: 31234
See MapMakerMigration · google/guava Wiki:
All caching related methods on
MapMaker
have been deprecated in favor of similar methods inCacheBuilder
, and are scheduled for upcoming deletion.
It looks like it was first deprecated in version 8.0 and removed before 13.0.
Upvotes: 3