Reverted explicitly specifying visibility modifier while override

This commit is contained in:
Svetlana Isakova
2012-04-18 18:55:03 +04:00
parent 8d6d292150
commit b5bf4a626c
31 changed files with 66 additions and 67 deletions
@@ -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 {