Skip to content

Commit 9eeb538

Browse files
committed
Clarify method JavaDoc to match class documentation
1 parent 6e61ee5 commit 9eeb538

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

caffeine/src/main/java/com/github/benmanes/caffeine/cache/CacheWriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public interface CacheWriter<K, V> {
3535

3636
/***
3737
* Writes the value corresponding to the {@code key} to the external resource. The cache will
38-
* communicate a write when an entry in the cache is inserted or updated explicitly. The implicit
39-
* creation of an entry due to being loaded when absent is not communicated.
38+
* communicate a write when an entry in the cache is created or modified, except when that was
39+
* due to a load or computation.
4040
*
4141
* @param key the non-null key whose value should be written
4242
* @param value the value associated with {@code key} that should be written

0 commit comments

Comments
 (0)