Skip to content

Commit 4e3f690

Browse files
committed
remove warn on reflection
1 parent 749ba99 commit 4e3f690

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/clj/hickory/core.clj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,16 +144,12 @@
144144
([this] (trampoline as-hickory this (hzip/hickory-zip this)))
145145
([this loc] (end-or-recur as-hickory loc (.getWholeText this)))))
146146

147-
(set! *warn-on-reflection* false)
148-
149147
(defn parse
150148
"Parse an entire HTML document into a DOM structure that can be
151149
used as input to as-hiccup or as-hickory."
152150
[s]
153151
(Jsoup/parse s))
154152

155-
(set! *warn-on-reflection* true)
156-
157153
(defn parse-fragment
158154
"Parse an HTML fragment (some group of tags that might be at home somewhere
159155
in the tag hierarchy under <body>) into a list of DOM elements that can

0 commit comments

Comments
 (0)