diff options
Diffstat (limited to 'src/library/scala/collection/GenMapLike.scala')
-rw-r--r-- | src/library/scala/collection/GenMapLike.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/library/scala/collection/GenMapLike.scala b/src/library/scala/collection/GenMapLike.scala index f4a3903c13..12ecbcf140 100644 --- a/src/library/scala/collection/GenMapLike.scala +++ b/src/library/scala/collection/GenMapLike.scala @@ -29,10 +29,9 @@ trait GenMapLike[A, +B, +Repr] extends GenIterableLike[(A, B), Repr] with Equals def +[B1 >: B](kv: (A, B1)): GenMap[A, B1] def - (key: A): Repr - // This hash code must be symmetric in the contents but ought not // collide trivially. - override def hashCode() = util.MurmurHash3.symmetricHash(seq, Map.hashSeed) + override def hashCode() = util.MurmurHash3.mapHash(seq) /** Returns the value associated with a key, or a default value if the key is not contained in the map. * @param key the key. |