We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50ed12d + f15f3a2 commit 6f60ed9Copy full SHA for 6f60ed9
library/src/scala/collection/mutable/HashMap.scala
@@ -87,7 +87,7 @@ extends AbstractMap[A, B]
87
// Repeat search
88
// because evaluation of `default` can bring entry with `key`
89
val secondEntry = findEntry(key, newEntryIndex)
90
- if (secondEntry == null) addEntry0(e, newEntryIndex)
+ if (secondEntry == null) addEntry(e, newEntryIndex)
91
else secondEntry.value = default
92
default
93
}
0 commit comments