From 76f84b914f86243e4b17bc2511a9386b0c9c0d91 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 9 Dec 2015 13:10:04 +0100 Subject: [PATCH] Polishing --- .../cache/annotation/CacheEvict.java | 14 +++++++------ .../cache/annotation/CachePut.java | 19 +++++++++--------- .../cache/annotation/Cacheable.java | 20 ++++++++++--------- 3 files changed, 29 insertions(+), 24 deletions(-) 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: *