[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
@@ -19,7 +19,7 @@ public class ConcurrentMapBasedCache<K, V>(public val map: ConcurrentMap<K, Any>
public object NullValue
@Suppress("NOTHING_TO_INLINE", "UNCHECKED_CAST")
@Suppress("UNCHECKED_CAST")
public fun <V> Any.nullValueToNull(): V = when (this) {
NullValue -> null
else -> this