Code cleanup: get rid of unnecessary !! / as, fake warning comments and issues
This commit is contained in:
@@ -110,7 +110,7 @@ public operator fun <@kotlin.internal.OnlyInputTypes K, V> Map<out K, V>.get(key
|
||||
*/
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
@Deprecated("Map and key have incompatible types. Upcast key to Any? if you're sure.", ReplaceWith("get(key as Any?)"))
|
||||
public inline fun <K, V> Map<K, V>.getRaw(key: Any?): V? = get(key as Any?)
|
||||
public inline fun <K, V> Map<K, V>.getRaw(key: Any?): V? = get(key)
|
||||
|
||||
/**
|
||||
* Returns `true` if the map contains the specified [key].
|
||||
|
||||
Reference in New Issue
Block a user