Skip to content

Commit ade16df

Browse files
committed
remove unused private method.
1 parent fae9f41 commit ade16df

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

library/src/scala/collection/concurrent/TrieMap.scala

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -570,16 +570,6 @@ private[collection] final class CNode[K, V](val bitmap: Int, val array: Array[Ba
570570

571571
private[concurrent] def string(lev: Int): String = "CNode %x\n%s".format(bitmap, array.map(_.string(lev + 1)).mkString("\n"))
572572

573-
/* quiescently consistent - don't call concurrently to anything involving a GCAS!! */
574-
private def collectElems: Seq[(K, V)] = array flatMap {
575-
case sn: SNode[K, V] => Some(sn.kvPair)
576-
case in: INode[K, V] => in.mainnode match {
577-
case tn: TNode[K, V] => Some(tn.kvPair)
578-
case ln: LNode[K, V] => ln.listmap.toList
579-
case cn: CNode[K, V] => cn.collectElems
580-
}
581-
}
582-
583573
private def collectLocalElems: Seq[String] = array flatMap {
584574
case sn: SNode[K, V] => Some(sn.kvPair._2.toString)
585575
case in: INode[K, V] => Some(in.toString.drop(14) + "(" + in.gen + ")")

0 commit comments

Comments
 (0)