[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
@@ -455,7 +455,7 @@ internal class KtFe10CallResolver(
)
}
}
@Suppress("UNCHECKED_CAST")
return KtSimpleFunctionCall(
partiallyAppliedSymbol,
argumentMapping,
@@ -20,7 +20,6 @@ internal class ValidityAwareCachedValue<T>(
) : ReadOnlyProperty<Any, T> {
private val lazyValue = lazy(LazyThreadSafetyMode.PUBLICATION, init)
@Suppress("UNCHECKED_CAST")
override fun getValue(thisRef: Any, property: KProperty<*>): T {
token.assertIsValidAndAccessible()
return lazyValue.value