Skip to content

chore: code quality improvements#174

Open
mikaello wants to merge 1 commit into
mainfrom
chore/code-quality-improvements
Open

chore: code quality improvements#174
mikaello wants to merge 1 commit into
mainfrom
chore/code-quality-improvements

Conversation

@mikaello
Copy link
Copy Markdown
Contributor

@mikaello mikaello commented Apr 4, 2026

  • Fix bug in classNamesV3/classNamesV2: calling .javaClass on a Class<*> produced 'class' for every entry in error messages; use the Class directly instead
  • Replace println error logging with IllegalArgumentException so callers get actionable feedback on mismatched element types
  • Replace deprecated Jackson setSerializationInclusion with configOverride
  • Remove unused java.lang.Class and java.net.URL imports

- Fix bug in classNamesV3/classNamesV2: calling .javaClass on a Class<*>
  produced 'class' for every entry in error messages; use the Class
  directly instead
- Remove dead code in unmarshalGenericIofV2 (validateXml was hardcoded
  false with an unreachable V1 branch)
- Remove dead code in unmarshalV2Xml (turnOfDtdValidation was hardcoded
  true with an unreachable else branch)
- Replace println error logging with IllegalArgumentException so callers
  get actionable feedback on mismatched element types
- Replace deprecated Jackson setSerializationInclusion with configOverride
- Remove unused java.lang.Class and java.net.URL imports
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.

1 participant