Permalink
Browse files

Using only copy and throwf from dependent namespaces, which fixes the

spit nameclash when using clojure 1.2.
  • Loading branch information...
1 parent 6fe1cc2 commit c6f6476bc962cc818c884458ede88b0d09b9aa11 @roman-soundcloud roman-soundcloud committed with weavejester Jun 2, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 ring-servlet/src/ring/util/servlet.clj
View
3 ring-servlet/src/ring/util/servlet.clj
@@ -1,6 +1,7 @@
(ns ring.util.servlet
"Compatibility functions for turning a ring handler into a Java servlet."
- (:use (clojure.contrib duck-streams except))
+ (:use [clojure.contrib.except :only (throwf)]
+ [clojure.contrib.duck-streams :only (copy)])
(:import (java.io File InputStream FileInputStream)
(javax.servlet.http HttpServlet
HttpServletRequest

0 comments on commit c6f6476

Please sign in to comment.