Skip to content
Snippets Groups Projects
Commit 9fce3268 authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files

Bugfix

parent d787e9e0
Branches
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ public class WeakRefVolatileCache< K, V extends VolatileCacheValue > implements
final Entry entry = map.computeIfAbsent( key,
( k ) -> {
final V value = backingCache.getIfPresent( k );
if ( value == null )
if ( value != null )
return new Entry( k, value );
else
return new Entry( k, loader );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment