commit | 73f5e586bbe310343d1353000125e11f3f9f7c75 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Fri Jul 16 00:39:59 2021 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Fri Jul 16 00:41:20 2021 +0100 |
tree | 99be68d519142bc45628b1c65e3e88d83cd98495 | |
parent | 61bbe72d61ce087d8f593e42fbed09cf085efd93 [diff] |
Remove unneeded else condition Fix Eclipse warning about an else condition block that wasn't needed. Change-Id: I5dccfe2830f1867e9d69681f9a2bc329dbc17ddc
diff --git a/src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/ChronicleMapCacheImpl.java b/src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/ChronicleMapCacheImpl.java index 97ecb1c..b08904e 100644 --- a/src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/ChronicleMapCacheImpl.java +++ b/src/main/java/com/googlesource/gerrit/modules/cache/chroniclemap/ChronicleMapCacheImpl.java
@@ -181,9 +181,8 @@ hitCount.increment(); hotEntries.add((K) objKey); return vTimedValue.getValue(); - } else { - invalidate(objKey); } + invalidate(objKey); } missCount.increment(); return null;