Skip to content

Conversation

erdos
Copy link

@erdos erdos commented May 24, 2025

Followup to PR https://github.com/clj-commons/hickory/pull/92/files

Function hickory.core/parse calls Jsoup.parse unary method. In current JSoup version 1.20.1 it is overloaded for File, String and Path classes.

Current implementation uses reflection to dispatch to the correct overloaded method implementation. However, proper approach would be dispatching based on type, and I took inspiration from dakrone/clj-http#650 for this change.

@borkdude
Copy link
Contributor

I'm fine with this change. You too @slipset ? I also bumped Jsoup to 1.21.1 now on master. We could do a release after this one is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants