diff --git a/spring-context/src/main/java/org/springframework/cache/support/NoOpCacheManager.java b/spring-context/src/main/java/org/springframework/cache/support/NoOpCacheManager.java index 0fd92458746..ba418e2e0c9 100644 --- a/spring-context/src/main/java/org/springframework/cache/support/NoOpCacheManager.java +++ b/spring-context/src/main/java/org/springframework/cache/support/NoOpCacheManager.java @@ -18,8 +18,6 @@ package org.springframework.cache.support; import java.util.Collection; import java.util.Collections; -import java.util.LinkedHashSet; -import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; @@ -33,44 +31,28 @@ import org.springframework.cache.CacheManager; * for disabling caching, typically used for backing cache declarations * without an actual backing store. * - *
Will simply accept any items into the cache not actually storing them. + *
This implementation will simply accept any items into the cache,
+ * not actually storing them.
*
* @author Costin Leau
* @author Stephane Nicoll
+ * @author Juergen Hoeller
* @since 3.1
* @see NoOpCache
*/
public class NoOpCacheManager implements CacheManager {
- private final ConcurrentMap