removed dead code

master
Robinson 2023-08-05 18:46:34 -06:00
parent fed0218b85
commit 5e00bba892
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 1 additions and 3 deletions

View File

@ -63,9 +63,6 @@ open class ObjectIntMap<K: Any> : MutableMap<K, Int> {
companion object {
const val version = Collections.version
// This is used to tell the difference between a legit NULL value in a map, and a non-existent value
internal val dummy = Any()
}
protected var mapSize = 0
@ -200,6 +197,7 @@ open class ObjectIntMap<K: Any> : MutableMap<K, Int> {
keyTable[i] = key
valueTable[i] = value
if (++mapSize >= threshold) resize(keyTable.size shl 1)
return null
}