aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Engelberg <mark.engelberg@gmail.com>2011-05-20 21:22:04 -0700
committerMark Engelberg <mark.engelberg@gmail.com>2011-05-20 21:22:04 -0700
commit9fe43dbfa1d38085eeee0392b7469ac79afa15c3 (patch)
tree2e4e0ec77afa19412b92510bdba602d69cd65b39
parent52420d021b319b388b9a73bf26ef363e96859171 (diff)
Priority-map: Fixed equals method to call mapEquals
-rw-r--r--modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj b/modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj
index ac1dcea9..158dc5fe 100644
--- a/modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj
+++ b/modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj
@@ -211,7 +211,7 @@ to Clojure's assortment of built-in maps (hash-map and sorted-map).
; their key-value pairs are the same.
(equiv [this o] (= item->priority o))
(hashCode [this] (.hashCode item->priority))
- (equals [this o] (= item->priority o))
+ (equals [this o] (.mapEquals item->priority o))
;containsKey implements (contains? pm k) behavior
(containsKey [this item] (contains? item->priority item))