Reverted explicitly specifying visibility modifier while override
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import java.util.Enumeration
|
||||
|
||||
inline fun <T> java.util.Enumeration<T>.iterator() = object: Iterator<T> {
|
||||
public override val hasNext: Boolean
|
||||
override val hasNext: Boolean
|
||||
get() = hasMoreElements()
|
||||
|
||||
public override fun next() = nextElement()
|
||||
override fun next() = nextElement()
|
||||
}
|
||||
|
||||
fun <T : Any> T?.iterator() = object {
|
||||
|
||||
Reference in New Issue
Block a user