diff --git a/spring-context/src/main/java/org/springframework/cache/annotation/CacheEvict.java b/spring-context/src/main/java/org/springframework/cache/annotation/CacheEvict.java index 2a6f263d2f..a2d0c2f3a1 100644 --- a/spring-context/src/main/java/org/springframework/cache/annotation/CacheEvict.java +++ b/spring-context/src/main/java/org/springframework/cache/annotation/CacheEvict.java @@ -26,8 +26,8 @@ import java.lang.annotation.Target; import org.springframework.core.annotation.AliasFor; /** - * Annotation indicating that a method (or all methods on a class) triggers - * a cache eviction operation. + * Annotation indicating that a method (or all methods on a class) triggers a + * {@link org.springframework.cache.Cache#evict(Object) cache evict} operation. * * @author Costin Leau * @author Stephane Nicoll @@ -60,8 +60,8 @@ public @interface CacheEvict { /** * Spring Expression Language (SpEL) expression for computing the key dynamically. - *

Default is {@code ""}, meaning all method parameters are considered as a key, unless - * a custom {@link #keyGenerator} has been set. + *

Default is {@code ""}, meaning all method parameters are considered as a key, + * unless a custom {@link #keyGenerator} has been set. *

The SpEL expression evaluates again a dedicated context that provides the * following meta-data: *