summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-10-20 20:20:05 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-10-20 20:20:05 +0000
commitb1d9354a08107afab9c15d2ae1b8dded82b5ffef (patch)
tree19160caa6d792a9019075bcf9eee363126b20b95 /src
parenta4a65f9c42a17972d5c7af2f1e3249fae5057c6e (diff)
downloadscala-b1d9354a08107afab9c15d2ae1b8dded82b5ffef.tar.gz
scala-b1d9354a08107afab9c15d2ae1b8dded82b5ffef.tar.bz2
scala-b1d9354a08107afab9c15d2ae1b8dded82b5ffef.zip
Added back a previously publicly available method.
No review
Diffstat (limited to 'src')
-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