Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid UnsupportedOperationException on plaintext parsing #4873

Closed
wants to merge 1 commit into from

Conversation

Bananeweizen
Copy link
Contributor

What's changed?

withCharsetBomMarked must only be called if there is a known non-null charset.

What's your motivation?

fixes #4872

Anything in particular you'd like reviewers to focus on?

I've not been able to test this (company proxy trouble), so please double-check if necessary.

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

Any additional context

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

withCharsetBomMarked must only be called if there is a known non-null
charset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

RemoveUnusedProperties causes internal error for every file
1 participant