J2K: Do not specify type of for loop parameter

This commit is contained in:
Pavel V. Talanov
2013-10-29 20:08:27 +04:00
parent 28f3d692ab
commit a649eb52cf
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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)
}