Flag Caffeine as Java8+ only
See also SPR-13824
This commit is contained in:
@@ -22,6 +22,7 @@ import java.util.function.Function;
|
|||||||
import com.github.benmanes.caffeine.cache.LoadingCache;
|
import com.github.benmanes.caffeine.cache.LoadingCache;
|
||||||
|
|
||||||
import org.springframework.cache.support.AbstractValueAdaptingCache;
|
import org.springframework.cache.support.AbstractValueAdaptingCache;
|
||||||
|
import org.springframework.lang.UsesJava8;
|
||||||
import org.springframework.util.Assert;
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -35,6 +36,7 @@ import org.springframework.util.Assert;
|
|||||||
* @author Stephane Nicoll
|
* @author Stephane Nicoll
|
||||||
* @since 4.3
|
* @since 4.3
|
||||||
*/
|
*/
|
||||||
|
@UsesJava8
|
||||||
public class CaffeineCache extends AbstractValueAdaptingCache {
|
public class CaffeineCache extends AbstractValueAdaptingCache {
|
||||||
|
|
||||||
private final String name;
|
private final String name;
|
||||||
|
|||||||
Reference in New Issue
Block a user