[analysis] remove redundant diagnostic suppression

This commit is contained in:
Dmitry Gridin
2022-08-12 21:12:35 +02:00
parent 6a83bcf349
commit 8dbdea39da
9 changed files with 7 additions and 19 deletions
@@ -14,7 +14,6 @@ internal class FirThreadSafeCacheWithPostCompute<K : Any, V, CONTEXT, DATA>(
) : FirCache<K, V, CONTEXT>() {
private val map = ConcurrentHashMap<K, ValueWithPostCompute<K, V, DATA>>()
@Suppress("UNCHECKED_CAST")
override fun getValue(key: K, context: CONTEXT): V =
map.getOrPut(key) {
ValueWithPostCompute(