Skip to content

Commit 92f2750

Browse files
committed
Fix javadoc in couchbase cache. (#1985)
Closes #1984.
1 parent e98e193 commit 92f2750

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/springframework/data/couchbase/cache/CouchbaseCache.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
/**
3535
* Couchbase-backed Cache Methods that take a Class return non-wrapped objects - cache-miss cannot be distinguished from
3636
* cached null - this is what AbstractValueAdaptingCache does Methods that do not take a Class return wrapped objects -
37-
* the wrapper is null for cache-miss - the exception is T get(final Object key, final Callable<T> valueLoader), which
37+
* the wrapper is null for cache-miss - the exception is T get(final Object key, final Callable&lt;T&gt; valueLoader), which
3838
* does not return a wrapper because if there is a cache-miss, it gets the value from valueLoader (and caches it). There
3939
* are anomalies with get(key, ValueLoader) - which returns non-wrapped object.
4040
*/

src/main/java/org/springframework/data/couchbase/cache/CouchbaseCacheConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public static CouchbaseCacheConfiguration defaultCacheConfig() {
6262
/**
6363
* Registers default cache key converters. The following converters get registered:
6464
* <ul>
65-
* <li>{@link String} to {@link byte byte[]} using UTF-8 encoding.</li>
65+
* <li>{@link String} to byte using UTF-8 encoding.</li>
6666
* <li>{@link SimpleKey} to {@link String}</li>
6767
* </ul>
6868
*

0 commit comments

Comments
 (0)