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
@@ -12,8 +12,7 @@ class SimpleEnumerator {
}
class SimpleEnumeratorWrapper(private val enumerator: SimpleEnumerator) {
val hasNext: Boolean
get() = enumerator.hasMoreElements()
fun hasNext(): Boolean = enumerator.hasMoreElements()
fun next() = enumerator.getNext()
}