From 92f2750c24ccf10ba2743837baf3bc5e6f45c033 Mon Sep 17 00:00:00 2001 From: Michael Reiche <48999328+mikereiche@users.noreply.github.com> Date: Thu, 10 Oct 2024 11:06:17 -0700 Subject: [PATCH] Fix javadoc in couchbase cache. (#1985) Closes #1984. --- .../springframework/data/couchbase/cache/CouchbaseCache.java | 2 +- .../data/couchbase/cache/CouchbaseCacheConfiguration.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: * *