From 9fe43dbfa1d38085eeee0392b7469ac79afa15c3 Mon Sep 17 00:00:00 2001 From: Mark Engelberg Date: Fri, 20 May 2011 21:22:04 -0700 Subject: Priority-map: Fixed equals method to call mapEquals --- modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3-18-g5258