diff options
author | Mark Engelberg <mark.engelberg@gmail.com> | 2011-05-20 21:22:04 -0700 |
---|---|---|
committer | Mark Engelberg <mark.engelberg@gmail.com> | 2011-05-20 21:22:04 -0700 |
commit | 9fe43dbfa1d38085eeee0392b7469ac79afa15c3 (patch) | |
tree | 2e4e0ec77afa19412b92510bdba602d69cd65b39 | |
parent | 52420d021b319b388b9a73bf26ef363e96859171 (diff) |
Priority-map: Fixed equals method to call mapEquals
-rw-r--r-- | modules/priority-map/src/main/clojure/clojure/contrib/priority_map.clj | 2 |
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)) |