removed check for 'hasNext' val in frontend

This commit is contained in:
Svetlana Isakova
2012-08-20 16:05:16 +04:00
parent f72fb51a55
commit f817eba7aa
8 changed files with 8 additions and 37 deletions
@@ -9,6 +9,7 @@ inline fun <T> java.util.Enumeration<T>.iterator() = object: Iterator<T> {
fun <T : Any> T?.iterator() = object {
var hasNext = this@iterator != null
private set
fun hasNext() = hasNext
fun next() : T {
if (hasNext) {