1

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.

Amadeu Cabanilles
  • 913
  • 3
  • 19
  • 47

1 Answers1

3

See MapMakerMigration ยท google/guava Wiki:

All caching related methods on MapMaker have been deprecated in favor of similar methods in CacheBuilder, and are scheduled for upcoming deletion.

It looks like it was first deprecated in version 8.0 and removed before 13.0.

mfulton26
  • 29,956
  • 6
  • 64
  • 88