We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 588ccf5 commit a4a13f0Copy full SHA for a4a13f0
src/org/bovinegenius/exploding_fish/parser.clj
@@ -31,7 +31,7 @@
31
(defn generic
32
"Takes a URI string and parses it into scheme, scheme-relative,
33
and fragment parts."
34
- [uri]
+ [^String uri]
35
(if uri
36
(let [[_ scheme ssp fragment] (or (re-find #"^([a-zA-Z][a-zA-Z\d+.-]*):([^#]+)#?(.*)$" uri)
37
(parse-relative uri))
@@ -42,7 +42,7 @@ and fragment parts."
42
(defn scheme-specific
43
"Parse the scheme specific part into authority, path, and query
44
parts."
45
- [ssp]
+ [^String ssp]
46
(or
47
(when ssp
48
(let [[front & query] (str/split ssp #"\?")
0 commit comments