diff --git a/android/guava/src/com/google/common/cache/CacheBuilder.java b/android/guava/src/com/google/common/cache/CacheBuilder.java index 3df641fee180..5ca865928131 100644 --- a/android/guava/src/com/google/common/cache/CacheBuilder.java +++ b/android/guava/src/com/google/common/cache/CacheBuilder.java @@ -549,10 +549,10 @@ public CacheBuilder maximumWeight(long maximumWeight) { /** * Specifies the weigher to use in determining the weight of entries. Entry weight is taken into - * consideration by {@link #maximumWeight(long)} when determining which entries to evict, and use - * of this method requires a corresponding call to {@link #maximumWeight(long)} prior to calling - * {@link #build}. Weights are measured and recorded when entries are inserted into the cache, and - * are thus effectively static during the lifetime of a cache entry. + * consideration by {@link #maximumWeight(long)} when determining whether the cache is over + * capacity, and use of this method requires a corresponding call to {@link #maximumWeight(long)} + * prior to calling {@link #build}. Weights are measured and recorded when entries are inserted + * into the cache, and are thus effectively static during the lifetime of a cache entry. * *

When the weight of an entry is zero it will not be considered for size-based eviction * (though it still may be evicted by other means). diff --git a/guava/src/com/google/common/cache/CacheBuilder.java b/guava/src/com/google/common/cache/CacheBuilder.java index 9e8adaf8e955..2c70c67e55f7 100644 --- a/guava/src/com/google/common/cache/CacheBuilder.java +++ b/guava/src/com/google/common/cache/CacheBuilder.java @@ -549,10 +549,10 @@ public CacheBuilder maximumWeight(long maximumWeight) { /** * Specifies the weigher to use in determining the weight of entries. Entry weight is taken into - * consideration by {@link #maximumWeight(long)} when determining which entries to evict, and use - * of this method requires a corresponding call to {@link #maximumWeight(long)} prior to calling - * {@link #build}. Weights are measured and recorded when entries are inserted into the cache, and - * are thus effectively static during the lifetime of a cache entry. + * consideration by {@link #maximumWeight(long)} when determining whether the cache is over + * capacity, and use of this method requires a corresponding call to {@link #maximumWeight(long)} + * prior to calling {@link #build}. Weights are measured and recorded when entries are inserted + * into the cache, and are thus effectively static during the lifetime of a cache entry. * *

When the weight of an entry is zero it will not be considered for size-based eviction * (though it still may be evicted by other means).