Skip to content

Commit 42d46da

Browse files
committed
fixed stuff for #2
1 parent 3d09ee4 commit 42d46da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tailrecursion/boot/loader.clj

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@
5151
(defn ^:from-leiningen build-url
5252
"Creates java.net.URL from string"
5353
[url]
54-
(try (URL. url)
54+
(try (java.net.URL. url)
5555
(catch java.net.MalformedURLException _
56-
(URL. (str "http://" url)))))
56+
(java.net.URL. (str "http://" url)))))
5757

5858
(defn ^:from-leiningen get-non-proxy-hosts []
5959
(let [system-no-proxy (System/getenv "no_proxy")]
6060
(if (not-empty system-no-proxy)
61-
(->> (str/split system-no-proxy #",")
61+
(->> (string/split system-no-proxy #",")
6262
(map #(str "*" %))
63-
(str/join "|")))))
63+
(string/join "|")))))
6464

6565
(defn ^:from-leiningen get-proxy-settings
6666
"Returns a map of the JVM proxy settings"

0 commit comments

Comments
 (0)