summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library/scala/collection/mutable/HashTable.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library/scala/collection/mutable/HashTable.scala b/src/library/scala/collection/mutable/HashTable.scala
index 5293e40c06..7aae961a62 100644
--- a/src/library/scala/collection/mutable/HashTable.scala
+++ b/src/library/scala/collection/mutable/HashTable.scala
@@ -48,6 +48,8 @@ trait HashTable[A, Entry >: Null <: HashEntry[A, Entry]] {
*/
@transient protected var threshold: Int = initialThreshold(_loadFactor)
+ protected def initialSize: Int = HashTable.initialSize
+
/**
* Initializes the collection from the input stream. `f` will be called for each key/value pair
* read from the input stream in the order determined by the stream. This is useful for