Permalink
Browse files

c.c.http.connection: replace references to c.c.java

  • Loading branch information...
stuartsierra committed Feb 11, 2010
1 parent 55cc53e commit b1ef9357a276c391ac28c309513c567b84a09309
Showing with 2 additions and 3 deletions.
  1. +2 −3 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."}

0 comments on commit b1ef935

Please sign in to comment.