Permalink
Browse files

Merge branch 'master' of https://github.com/juergenhoetzel/pomegranate

  • Loading branch information...
2 parents 19fd03c + b8eff56 commit 24f985a62be0f703f349f5cfbc99a65d6651ff53 @cemerick committed Apr 10, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/main/clojure/cemerick/pomegranate/aether.clj
@@ -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))

0 comments on commit 24f985a

Please sign in to comment.