New J2K: fix testdata
This commit is contained in:
+1
-1
@@ -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
@@ -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
@@ -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) })
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user