Skip to content

Commit

Permalink
Fix typo in error message
Browse files Browse the repository at this point in the history
Fix typo in error message.
  • Loading branch information
Dirk-c-Walter authored Aug 10, 2016
1 parent 00bc895 commit 3713aa8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ CompletableFuture<V> get(K key,
long loadTime = cache.statsTicker().read() - startTime;
if (value == null) {
if (error != null) {
logger.log(Level.WARNING, "Exception thrown during asynchonous load", error);
logger.log(Level.WARNING, "Exception thrown during asynchronous load", error);
}
cache.statsCounter().recordLoadFailure(loadTime);
cache.remove(key, result[0]);
Expand Down Expand Up @@ -241,7 +241,7 @@ public void put(K key, CompletableFuture<V> valueFuture) {
long loadTime = cache.statsTicker().read() - startTime;
if (value == null) {
if (error != null) {
logger.log(Level.WARNING, "Exception thrown during asynchonous load", error);
logger.log(Level.WARNING, "Exception thrown during asynchronous load", error);
}
cache.remove(key, valueFuture);
cache.statsCounter().recordLoadFailure(loadTime);
Expand Down Expand Up @@ -281,7 +281,7 @@ public void accept(Map<K, V> result, Throwable error) {
entry.getValue().obtrudeException(error);
}
cache.statsCounter().recordLoadFailure(loadTime);
logger.log(Level.WARNING, "Exception thrown during asynchonous load", error);
logger.log(Level.WARNING, "Exception thrown during asynchronous load", error);
} else {
fillProxies(result);
addNewEntries(result);
Expand Down

0 comments on commit 3713aa8

Please sign in to comment.