We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d09ee4 commit 42d46daCopy full SHA for 42d46da
src/tailrecursion/boot/loader.clj
@@ -51,16 +51,16 @@
51
(defn ^:from-leiningen build-url
52
"Creates java.net.URL from string"
53
[url]
54
- (try (URL. url)
+ (try (java.net.URL. url)
55
(catch java.net.MalformedURLException _
56
- (URL. (str "http://" url)))))
+ (java.net.URL. (str "http://" url)))))
57
58
(defn ^:from-leiningen get-non-proxy-hosts []
59
(let [system-no-proxy (System/getenv "no_proxy")]
60
(if (not-empty system-no-proxy)
61
- (->> (str/split system-no-proxy #",")
+ (->> (string/split system-no-proxy #",")
62
(map #(str "*" %))
63
- (str/join "|")))))
+ (string/join "|")))))
64
65
(defn ^:from-leiningen get-proxy-settings
66
"Returns a map of the JVM proxy settings"
0 commit comments