From 21d7481f426702b40ccfa4614207b3d23bc65823 Mon Sep 17 00:00:00 2001 From: "Michael S. Klishin" Date: Sun, 1 Jul 2012 11:36:11 +0400 Subject: [PATCH] Don't shadow clojure.core/name with a local, stupid Caught by the CI --- src/clojure/monger/collection.clj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/clojure/monger/collection.clj b/src/clojure/monger/collection.clj index 3790141..469f109 100644 --- a/src/clojure/monger/collection.clj +++ b/src/clojure/monger/collection.clj @@ -546,10 +546,10 @@ (defn drop-index "Drops an index from this collection." - ([^String collection ^String name] - (.dropIndex (.getCollection monger.core/*mongodb-database* (name collection)) name)) - ([^DB db ^String collection ^String name] - (.dropIndex (.getCollection db (name collection)) name))) + ([^String collection ^String idx-name] + (.dropIndex (.getCollection monger.core/*mongodb-database* (name collection)) idx-name)) + ([^DB db ^String collection ^String idx-name] + (.dropIndex (.getCollection db (name collection)) idx-name))) (defn drop-indexes "Drops all indixes from this collection."