Skip to content

Comments

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

Merged
dakrone merged 1 commit intodakrone:3.xfrom
raszi:fix/reflection-warning
Aug 19, 2024
Merged

chore: fix reflection warning on javax.xml.parsers.SAXParser#650
dakrone merged 1 commit intodakrone:3.xfrom
raszi:fix/reflection-warning

Conversation

@raszi
Copy link
Contributor

@raszi raszi commented Aug 17, 2024

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:

Copy link
Owner

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

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