Skip to content

Commit

Permalink
Fix a couple of typos in Cache.getAll javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Inego committed Jan 11, 2021
1 parent 9c1c9a7 commit 259e4fe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public interface Cache<K, V> {
* present in the cache. All entries returned by {@code mappingFunction} will be stored in the
* cache, over-writing any previously cached values. If another call to {@link #get} tries to load
* the value for a key in {@code keys}, implementations may either have that thread load the entry
* or simply wait for this thread to finish and returns the loaded value. In the case of
* or simply wait for this thread to finish and return the loaded value. In the case of
* overlapping non-blocking loads, the last load to complete will replace the existing entry. Note
* that multiple threads can concurrently load values for distinct keys.
* <p>
Expand All @@ -114,7 +114,7 @@ public interface Cache<K, V> {
* @param mappingFunction the function to compute the values
* @return an unmodifiable mapping of keys to values for the specified keys in this cache
* @throws NullPointerException if the specified collection is null or contains a null element, or
* if the mao returned by the mappingFunction is null
* if the map returned by the mappingFunction is null
* @throws RuntimeException or Error if the mappingFunction does so, in which case the mapping is
* left unestablished
*/
Expand Down

0 comments on commit 259e4fe

Please sign in to comment.