diff --git a/src/main/java/org/springframework/data/couchbase/cache/CouchbaseCache.java b/src/main/java/org/springframework/data/couchbase/cache/CouchbaseCache.java index 740cbb078..6688a28ae 100644 --- a/src/main/java/org/springframework/data/couchbase/cache/CouchbaseCache.java +++ b/src/main/java/org/springframework/data/couchbase/cache/CouchbaseCache.java @@ -34,7 +34,7 @@ /** * Couchbase-backed Cache Methods that take a Class return non-wrapped objects - cache-miss cannot be distinguished from * cached null - this is what AbstractValueAdaptingCache does Methods that do not take a Class return wrapped objects - - * the wrapper is null for cache-miss - the exception is T get(final Object key, final Callable valueLoader), which + * the wrapper is null for cache-miss - the exception is T get(final Object key, final Callable<T> valueLoader), which * does not return a wrapper because if there is a cache-miss, it gets the value from valueLoader (and caches it). There * are anomalies with get(key, ValueLoader) - which returns non-wrapped object. */ diff --git a/src/main/java/org/springframework/data/couchbase/cache/CouchbaseCacheConfiguration.java b/src/main/java/org/springframework/data/couchbase/cache/CouchbaseCacheConfiguration.java index 226f5c594..088e905c6 100644 --- a/src/main/java/org/springframework/data/couchbase/cache/CouchbaseCacheConfiguration.java +++ b/src/main/java/org/springframework/data/couchbase/cache/CouchbaseCacheConfiguration.java @@ -62,7 +62,7 @@ public static CouchbaseCacheConfiguration defaultCacheConfig() { /** * Registers default cache key converters. The following converters get registered: * *