Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cemerick committed Apr 10, 2012
2 parents 19fd03c + b8eff56 commit 24f985a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/clojure/cemerick/pomegranate/aether.clj
Expand Up @@ -161,9 +161,8 @@
:as proxy} ]
(if (and repo host port)
(let [prx-sel (doto (DefaultProxySelector.)
(.add (doto (Proxy. type host port nil)
(set-authentication proxy))
non-proxy-hosts))
(.add (set-authentication (Proxy. type host port nil) proxy)
non-proxy-hosts))
prx (.getProxy prx-sel repo)]
(.setProxy repo prx))
repo))
Expand Down

0 comments on commit 24f985a

Please sign in to comment.