diff options
author | Stuart Sierra <mail@stuartsierra.com> | 2010-02-11 16:27:19 -0500 |
---|---|---|
committer | Stuart Sierra <mail@stuartsierra.com> | 2010-02-11 16:27:19 -0500 |
commit | b1ef9357a276c391ac28c309513c567b84a09309 (patch) | |
tree | c463dca1262e508697217f74d4401bfc89b25a9a | |
parent | 55cc53e5dbf050e887d9d6346e9b74e882cf1774 (diff) |
c.c.http.connection: replace references to c.c.java
-rw-r--r-- | src/main/clojure/clojure/contrib/http/connection.clj | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/clojure/clojure/contrib/http/connection.clj b/src/main/clojure/clojure/contrib/http/connection.clj index 7d5207b5..0afc0cd9 100644 --- a/src/main/clojure/clojure/contrib/http/connection.clj +++ b/src/main/clojure/clojure/contrib/http/connection.clj @@ -13,15 +13,14 @@ (ns #^{:doc "Low-level HTTP client API around HttpURLConnection"} clojure.contrib.http.connection - (:require [clojure.contrib.io :as duck] - [clojure.contrib.java :as j]) + (:require [clojure.contrib.io :as duck]) (:import (java.net URI URL HttpURLConnection) (java.io File InputStream Reader))) (defn http-connection "Opens an HttpURLConnection at the URL, handled by as-url." [url] - (.openConnection (j/as-url url))) + (.openConnection (duck/as-url url))) (defmulti #^{:doc "Transmits a request entity body."} |