diff options
author | Paul Phillips <paulp@improving.org> | 2012-09-26 11:46:18 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-09-26 11:46:18 -0700 |
commit | c1d6f39a4c38d600b761e8df03d03f59c8acd841 (patch) | |
tree | acfd7dae46750e89ae917eae69e9d9d28e3b3b71 | |
parent | 874b3724775b2ad06976ffe58865ece5dc3393b5 (diff) | |
download | scala-c1d6f39a4c38d600b761e8df03d03f59c8acd841.tar.gz scala-c1d6f39a4c38d600b761e8df03d03f59c8acd841.tar.bz2 scala-c1d6f39a4c38d600b761e8df03d03f59c8acd841.zip |
Privatize some collections internals.
These should not be public vars.
-rw-r--r-- | src/library/scala/collection/concurrent/TrieMap.scala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/library/scala/collection/concurrent/TrieMap.scala b/src/library/scala/collection/concurrent/TrieMap.scala index 4f9f13c794..82f62f3c85 100644 --- a/src/library/scala/collection/concurrent/TrieMap.scala +++ b/src/library/scala/collection/concurrent/TrieMap.scala @@ -920,11 +920,11 @@ object TrieMap extends MutableMapFactory[TrieMap] { private[collection] class TrieMapIterator[K, V](var level: Int, private var ct: TrieMap[K, V], mustInit: Boolean = true) extends Iterator[(K, V)] { - var stack = new Array[Array[BasicNode]](7) - var stackpos = new Array[Int](7) - var depth = -1 - var subiter: Iterator[(K, V)] = null - var current: KVNode[K, V] = null + private var stack = new Array[Array[BasicNode]](7) + private var stackpos = new Array[Int](7) + private var depth = -1 + private var subiter: Iterator[(K, V)] = null + private var current: KVNode[K, V] = null if (mustInit) initialize() |