New J2K: fix testdata

This commit is contained in:
Ilya Kirillov
2020-02-19 11:45:16 +03:00
parent 17a0e3a078
commit 285aa123b7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,6 +3,6 @@ import java.util.HashMap
class TestMethodReference {
private val hashMap = HashMap<String, String>()
fun update(key: String, msg: String) {
hashMap.merge(key, msg) { obj: String, s: String -> obj + s }
hashMap.merge(key, msg) { obj: String, str: String -> obj + str }
}
}
+1 -1
View File
@@ -3,6 +3,6 @@ import java.util.HashMap
class TestMethodReference {
private val hashMap = HashMap<String, String>()
fun update(key: String, msg: String) {
hashMap.merge(key, msg) { obj: String, s: String -> obj + s }
hashMap.merge(key, msg) { obj: String, str: String -> obj + str }
}
}
+1 -1
View File
@@ -5,6 +5,6 @@ internal class Test {
fun context() {
val items: MutableList<Double> = ArrayList()
items.add(1.0)
items.forEach(Consumer { o: Double? -> println(o) })
items.forEach(Consumer { x: Double? -> println(x) })
}
}