diff options
Diffstat (limited to 'src/library/scala/collection/mutable/OpenHashMap.scala')
-rw-r--r-- | src/library/scala/collection/mutable/OpenHashMap.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/collection/mutable/OpenHashMap.scala b/src/library/scala/collection/mutable/OpenHashMap.scala index f558f68159..72e729f370 100644 --- a/src/library/scala/collection/mutable/OpenHashMap.scala +++ b/src/library/scala/collection/mutable/OpenHashMap.scala @@ -80,7 +80,7 @@ extends Map[Key, Value] h ^ (h >>> 7) ^ (h >>> 4); } - private[this] def growTable = { + private[this] def growTable() = { val oldSize = mask + 1; val newSize = 4 * oldSize; val oldTable = table; @@ -179,7 +179,7 @@ extends Map[Key, Value] var index = 0; val initialModCount = modCount; - private[this] def advance { + private[this] def advance() { if (initialModCount != modCount) sys.error("Concurrent modification"); while((index <= mask) && (table(index) == null || table(index).value == None)) index+=1; } |