diff --git a/selekt-java/src/main/kotlin/com/bloomberg/selekt/collections/map/FastLinkedStringMap.kt b/selekt-java/src/main/kotlin/com/bloomberg/selekt/collections/map/FastLinkedStringMap.kt index 6c3f9bbda7..9ae7b46217 100644 --- a/selekt-java/src/main/kotlin/com/bloomberg/selekt/collections/map/FastLinkedStringMap.kt +++ b/selekt-java/src/main/kotlin/com/bloomberg/selekt/collections/map/FastLinkedStringMap.kt @@ -61,9 +61,7 @@ class FastLinkedStringMap( override fun clear() { super.clear() spare = null - head = null var entry = tail - tail = null while (entry != null) { val previous = entry.previous disposal(entry.unlink().value!!)