dakrone / clj-http

An idiomatic clojure http client wrapping the apache client. Officially supported version.
http://clojars.org/clj-http
MIT License
1.78k stars 411 forks source link

chore: fix reflection warning on javax.xml.parsers.SAXParser #650

Closed raszi closed 2 months ago

raszi commented 2 months ago

Fixes the reflection warning that was introduced with #630.

There are only two different types that the library can pass to the javax.xml.parsers.SAXParser. It is either String or InputStream.

Unfortunately, I could not find a better way to fix the reflection warning just by refactoring the code a bit and have two explicit calls on the javax.xml.parsers.SAXParser/parse methods: