Skip to content

Commit 0f3dbef

Browse files
committed
PR feedback - bad javadoc
1 parent 161adec commit 0f3dbef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/dataloader/CacheMap.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
import java.util.concurrent.CompletableFuture;
2323

2424
/**
25-
* CacheMap is used by data loaders that use caching promises to values aka {@link CompletableFuture}<V>. A better name for this
25+
* CacheMap is used by data loaders that use caching promises to values aka {@link CompletableFuture}<V>. A better name for this
2626
* class might have been FutureCache but that is history now.
2727
* <p>
2828
* The default implementation used by the data loader is based on a {@link java.util.LinkedHashMap}.
2929
* <p>
30-
* This is really a cache of completed {@link CompletableFuture}&lt;V> values in memory. It is used, when caching is enabled, to
30+
* This is really a cache of completed {@link CompletableFuture}&lt;V&gt; values in memory. It is used, when caching is enabled, to
3131
* give back the same future to any code that may call it. If you need a cache of the underlying values that is possible external to the JVM
3232
* then you will want to use {{@link ValueCache}} which is designed for external cache access.
3333
*

src/main/java/org/dataloader/ValueCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* The {@link ValueCache} is used by data loaders that use caching and want a long-lived or external cache
1010
* of values. The {@link ValueCache} is used as a place to cache values when they come back from
1111
* <p>
12-
* It differs from {@link CacheMap} which is in fact a cache of promises to values aka {@link CompletableFuture}&lt;V> and it rather suited
12+
* It differs from {@link CacheMap} which is in fact a cache of promises to values aka {@link CompletableFuture}&lt;V&gt; and it rather suited
1313
* to be a wrapper of a long lived or external value cache. {@link CompletableFuture}s cant be easily placed in an external cache
1414
* outside the JVM say, hence the need for the {@link ValueCache}.
1515
* <p>

0 commit comments

Comments
 (0)