Add "replace map.put with assignment" to J2K

Related to KT-21502
This commit is contained in:
Mikhail Glukhikh
2017-12-05 17:29:58 +03:00
parent 8c305a137f
commit a90e3c2e45
9 changed files with 58 additions and 47 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ internal class A {
fun <K, V> getMap2(k: K, v: V): Map<K, V> {
val map = HashMap<K, V>()
map.put(k, v)
map[k] = v
return map
}
}