Skip to content

Commit

Permalink
Remove redundant explicit generics
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Jun 6, 2024
1 parent ac777c3 commit 30104c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public CacheStats stats()
@Override
public ConcurrentMap<K, V> asMap()
{
return new ConcurrentMap<K, V>()
return new ConcurrentMap<>()
{
@Override
public V putIfAbsent(K key, V value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public CacheStats stats()
@Override
public ConcurrentMap<K, V> asMap()
{
return new ConcurrentMap<K, V>()
return new ConcurrentMap<>()
{
private final ConcurrentMap<Token<K>, V> dataCacheMap = dataCache.asMap();

Expand Down

0 comments on commit 30104c7

Please sign in to comment.