J2K: Do not specify type of for loop parameter
This commit is contained in:
@@ -3,11 +3,11 @@ public open class ForEach() {
|
||||
public open fun test() : Unit {
|
||||
var xs : ArrayList<Any?>? = ArrayList<Any?>()
|
||||
var ys : MutableList<Any?>? = LinkedList<Any?>()
|
||||
for (x : Any? in xs!!)
|
||||
for (x in xs!!)
|
||||
{
|
||||
ys?.add(x)
|
||||
}
|
||||
for (y : Any? in ys!!)
|
||||
for (y in ys!!)
|
||||
{
|
||||
xs?.add(y)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user