New J2K: Split old j2k and new j2k tests
This commit is contained in:
committed by
Ilya Kirillov
parent
02a206bf7c
commit
b411e8e18e
-15
@@ -1,15 +0,0 @@
|
||||
// ERROR: Unresolved reference: LinkedList
|
||||
import java.util.*
|
||||
|
||||
class ForEach {
|
||||
fun test() {
|
||||
val xs: ArrayList<Any?> = ArrayList()
|
||||
val ys: MutableList<Any?> = LinkedList<Any>()
|
||||
for (x in xs) {
|
||||
ys.add(x)
|
||||
}
|
||||
for (y in ys) {
|
||||
xs.add(y)
|
||||
}
|
||||
}
|
||||
}
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
// ERROR: Unresolved reference: LinkedList
|
||||
import java.util.*
|
||||
|
||||
class Lists {
|
||||
fun test() {
|
||||
val xs: MutableList<Any?> = ArrayList()
|
||||
val ys: MutableList<Any?> = LinkedList<Any>()
|
||||
val zs: ArrayList<Any?> = ArrayList()
|
||||
xs.add(null)
|
||||
ys.add(null)
|
||||
xs.clear()
|
||||
ys.clear()
|
||||
zs.add(null)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user