Browse Source

Flag Caffeine as Java8+ only

See also SPR-13824
pull/943/head
Stephane Nicoll 9 years ago
parent
commit
7d0ebddebe
  1. 2
      spring-context-support/src/main/java/org/springframework/cache/caffeine/CaffeineCache.java

2
spring-context-support/src/main/java/org/springframework/cache/caffeine/CaffeineCache.java vendored

@ -22,6 +22,7 @@ import java.util.function.Function; @@ -22,6 +22,7 @@ import java.util.function.Function;
import com.github.benmanes.caffeine.cache.LoadingCache;
import org.springframework.cache.support.AbstractValueAdaptingCache;
import org.springframework.lang.UsesJava8;
import org.springframework.util.Assert;
/**
@ -35,6 +36,7 @@ import org.springframework.util.Assert; @@ -35,6 +36,7 @@ import org.springframework.util.Assert;
* @author Stephane Nicoll
* @since 4.3
*/
@UsesJava8
public class CaffeineCache extends AbstractValueAdaptingCache {
private final String name;

Loading…
Cancel
Save