From 946348a8d98dd537c1be6e4b5e89b048a80a705d Mon Sep 17 00:00:00 2001 From: "Michael S. Klishin" Date: Sat, 15 Oct 2011 04:16:02 +0400 Subject: [PATCH] Nuke a couple of reflection warnings --- test/monger/test/collection.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/monger/test/collection.clj b/test/monger/test/collection.clj index efe912d..858ba54 100644 --- a/test/monger/test/collection.clj +++ b/test/monger/test/collection.clj @@ -539,7 +539,7 @@ (map #(mgcnv/from-db-object % true) (seq results)))) (is (= expected (map #(mgcnv/from-db-object % true) (mgcol/find "mr_outputs")))) - (.drop output))) + (.drop ^MapReduceOutput output))) (deftest basic-map-reduce-example-that-merged-results-into-named-collection (mgcol/remove collection) @@ -551,4 +551,4 @@ (is (= 4 (monger.core/count (.results ^MapReduceOutput output)))) (is (= ["CA" "IL" "NY" "OR"] (map :_id (mgcol/find-maps "merged_mr_outputs")))) - (.drop output)))) + (.drop ^MapReduceOutput output))))