Throw NoSuchElementException in appropriate cases #KT-4998 Fixed
This commit is contained in:
committed by
Andrey Breslav
parent
4ac626c1f2
commit
9ec78a437d
@@ -99,8 +99,7 @@ public open class HashMap<K, V>(capacity: Int = 0) : MutableMap<K, V> {
|
||||
}
|
||||
|
||||
library
|
||||
public class NoSuchElementException() : Exception() {
|
||||
}
|
||||
public class NoSuchElementException(message: String? = null) : Exception() {}
|
||||
|
||||
library
|
||||
public trait Enumeration<E> {
|
||||
|
||||
Reference in New Issue
Block a user