Skip to content

Commit

Permalink
Variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontedor committed May 9, 2018
1 parent 6051293 commit 9344ce7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Entry<K, V> get(K key, long now, Predicate<Entry<K, V>> isExpired, Consumer<Entr
future = map.get(key);
}
if (future != null) {
final Entry<K, V> entry;
Entry<K, V> entry;
try {
entry = future.get();
} catch (ExecutionException e) {
Expand Down Expand Up @@ -625,7 +625,7 @@ public void remove() {
Entry<K, V> entry = current;
if (entry != null) {
CacheSegment<K, V> segment = getCacheSegment(entry.key);
segment.remove(entry.key, e -> {});
segment.remove(entry.key, f -> {});
try (ReleasableLock ignored = lruLock.acquire()) {
current = null;
delete(entry, RemovalNotification.RemovalReason.INVALIDATED);
Expand Down Expand Up @@ -710,7 +710,7 @@ private void evictEntry(Entry<K, V> entry) {

CacheSegment<K, V> segment = getCacheSegment(entry.key);
if (segment != null) {
segment.remove(entry.key, e -> {});
segment.remove(entry.key, f -> {});
}
delete(entry, RemovalNotification.RemovalReason.EVICTED);
}
Expand Down

0 comments on commit 9344ce7

Please sign in to comment.