diff options
author | Rex Kerr <ichoran@gmail.com> | 2014-02-15 01:20:51 -0800 |
---|---|---|
committer | Rex Kerr <ichoran@gmail.com> | 2014-02-15 01:20:51 -0800 |
commit | a63193c1a89e51636aa917d486fd954a7bd9b074 (patch) | |
tree | 8efd11fcc8c1b8f3a0a4d9586465eb2c11f2b0c1 /src | |
parent | 040a4e6f5856195d4ab0f8e5f24d49698a138888 (diff) | |
download | scala-a63193c1a89e51636aa917d486fd954a7bd9b074.tar.gz scala-a63193c1a89e51636aa917d486fd954a7bd9b074.tar.bz2 scala-a63193c1a89e51636aa917d486fd954a7bd9b074.zip |
Made ParFlatHashTableIterator private vars private[this].
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/collection/parallel/mutable/ParFlatHashTable.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/collection/parallel/mutable/ParFlatHashTable.scala b/src/library/scala/collection/parallel/mutable/ParFlatHashTable.scala index 20c792d2ff..62165ae0d2 100644 --- a/src/library/scala/collection/parallel/mutable/ParFlatHashTable.scala +++ b/src/library/scala/collection/parallel/mutable/ParFlatHashTable.scala @@ -28,12 +28,12 @@ trait ParFlatHashTable[T] extends scala.collection.mutable.FlatHashTable[T] { extends IterableSplitter[T] with SizeMapUtils { import scala.collection.DebugUtils._ - private var traversed = 0 - private val itertable = table + private[this] var traversed = 0 + private[this] val itertable = table if (hasNext) scan() - private def scan() { + private[this] def scan() { while (itertable(idx) eq null) { idx += 1 } |