summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/parallel
diff options
context:
space:
mode:
authorRex Kerr <ichoran@gmail.com>2014-11-24 17:20:29 -0800
committerRex Kerr <ichoran@gmail.com>2014-11-24 20:13:38 -0800
commit192b877f123c9f4151755a41369862debf90d03f (patch)
tree32cefdc0b658f37cae0af99f52a9d986a6934c8a /src/library/scala/collection/parallel
parent6f5b853dda0b00c65776b05abde23ceb03d9621d (diff)
downloadscala-192b877f123c9f4151755a41369862debf90d03f.tar.gz
scala-192b877f123c9f4151755a41369862debf90d03f.tar.bz2
scala-192b877f123c9f4151755a41369862debf90d03f.zip
SI-8765 immutable.HashSet exposes internal updated0 method
Made most internal methods protected or private[immutable], as appropriate. (Coverage was scattershot before.) updated0 is private[collection] since it is used by ParHashSet. (Not sure how wise this is for maintainability, but let's not rock this boat now.) No deprecation, as there was no real way to sanely use these. No test, as this is better caught by inspection than compilation failure tests.
Diffstat (limited to 'src/library/scala/collection/parallel')
-rw-r--r--src/library/scala/collection/parallel/immutable/ParHashSet.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/parallel/immutable/ParHashSet.scala b/src/library/scala/collection/parallel/immutable/ParHashSet.scala
index 65a632470e..3a1ec7fff8 100644
--- a/src/library/scala/collection/parallel/immutable/ParHashSet.scala
+++ b/src/library/scala/collection/parallel/immutable/ParHashSet.scala
@@ -197,7 +197,7 @@ extends scala.collection.parallel.BucketCombiner[T, ParHashSet[T], Any, HashSetC
while (i < chunksz) {
val v = chunkarr(i).asInstanceOf[T]
val hc = trie.computeHash(v)
- trie = trie.updated0(v, hc, rootbits)
+ trie = trie.updated0(v, hc, rootbits) // internal API, private[collection]
i += 1
}
i = 0