removed unnecessary import jet.Iterator

This commit is contained in:
Svetlana Isakova
2012-08-29 15:10:57 +04:00
parent 726bcb5465
commit a3194e9a46
29 changed files with 0 additions and 29 deletions
@@ -3,7 +3,6 @@
// KT-441 Exception in type inference when multiple overloads accepting an integer literal are accessible
import java.util.*
import jet.Iterator
fun <T> Iterator<T>.foreach(operation: (element: T) -> Unit) : Unit = while(hasNext()) operation(next())
@@ -3,7 +3,6 @@
package kotlin.util
import java.util.*
import jet.Iterator
fun <T, U: Collection<in T>> Iterator<T>.to(container: U) : U {
while(hasNext())