Skip to content

Commit ec09615

Browse files
authored
Merge pull request scala/scala#10221 from liang3zy22/collectionbug12369
new LinkedHashMap/LinkedHashSet implementation
2 parents 8ed13e5 + 134faef commit ec09615

File tree

4 files changed

+468
-156
lines changed

4 files changed

+468
-156
lines changed

library/src/scala/collection/mutable/HashTable.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ import java.lang.Integer
3535
*
3636
* @tparam A type of the elements contained in this hash table.
3737
*/
38-
// Was an abstract class, but to simplify the upgrade of the parallel collections I’ve made it a trait
39-
private[collection] /*abstract class*/ trait HashTable[A, B, Entry >: Null <: HashEntry[A, Entry]] extends HashTable.HashUtils[A] {
38+
// Not used in the standard library, but used in scala-parallel-collections
39+
private[collection] trait HashTable[A, B, Entry >: Null <: HashEntry[A, Entry]] extends HashTable.HashUtils[A] {
4040
// Replacing Entry type parameter by abstract type member here allows to not expose to public
4141
// implementation-specific entry classes such as `DefaultEntry` or `LinkedEntry`.
4242
// However, I'm afraid it's too late now for such breaking change.

0 commit comments

Comments
 (0)