Files
kotlin-fork/idea/resources/intentionDescriptions/ReplaceMapGetOrDefaultIntention/before.kt.template
T
Toshiaki Kameyama f5c0a30c51 Add intention to replace "Map.getOrDefault"
#KT-21503 Fixed
2019-08-07 17:38:15 +03:00

3 lines
79 B
Plaintext

fun test(map: Map<Int, String>) {
map<spot>.getOrDefault(1, "foo")</spot>
}