tests changed
val hasNext -> fun hasNext()
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import java.util.Enumeration
|
||||
|
||||
inline fun <T> java.util.Enumeration<T>.iterator() = object : Iterator<T> {
|
||||
public override val hasNext: Boolean
|
||||
get() = hasMoreElements()
|
||||
public override fun hasNext(): Boolean = hasMoreElements()
|
||||
|
||||
public override fun next() = nextElement()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user