summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/MapLike.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-05-21 17:07:50 +0000
committerPaul Phillips <paulp@improving.org>2010-05-21 17:07:50 +0000
commit712ebe2943640b34ff40b40a363bd72594e62cb5 (patch)
tree33e109835d03eb5710efcec14c0cb14aec79bf8e /src/library/scala/collection/MapLike.scala
parent4382c7dd6e1b079919587639b6979ad55a783db5 (diff)
downloadscala-712ebe2943640b34ff40b40a363bd72594e62cb5.tar.gz
scala-712ebe2943640b34ff40b40a363bd72594e62cb5.tar.bz2
scala-712ebe2943640b34ff40b40a363bd72594e62cb5.zip
Altered a bunch of places which call hashCode t...
Altered a bunch of places which call hashCode to call ## instead. No review.
Diffstat (limited to 'src/library/scala/collection/MapLike.scala')
-rw-r--r--src/library/scala/collection/MapLike.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/MapLike.scala b/src/library/scala/collection/MapLike.scala
index 9edc2904e1..fdaee64fd5 100644
--- a/src/library/scala/collection/MapLike.scala
+++ b/src/library/scala/collection/MapLike.scala
@@ -329,7 +329,7 @@ self =>
override /*PartialFunction*/
def toString = super[IterableLike].toString
- override def hashCode() = this map (_.hashCode) sum
+ override def hashCode() = this map (_.##) sum
/** Compares two maps structurally; i.e. checks if all mappings
* contained in this map are also contained in the other map,