J2K: adding type arguments where they are needed and removing them where they are redundant
This commit is contained in:
@@ -3,9 +3,9 @@ import kotlin.Map
|
||||
|
||||
class A {
|
||||
fun foo(): Map<String, String> {
|
||||
val list1 = listOf()
|
||||
val list1 = listOf<String>()
|
||||
val list2 = listOf(1)
|
||||
val set1 = setOf()
|
||||
val set1 = setOf<String>()
|
||||
val set2 = setOf("a")
|
||||
return mapOf()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user