Skip to content

Comments

Simplify getXmlString() to use ByteArrayOutputStream.toString()#368

Open
michal-morzywolek wants to merge 2 commits intomainfrom
fix/morf-75-replace-to-byte-array
Open

Simplify getXmlString() to use ByteArrayOutputStream.toString()#368
michal-morzywolek wants to merge 2 commits intomainfrom
fix/morf-75-replace-to-byte-array

Conversation

@michal-morzywolek
Copy link
Contributor

Summary

  • Replace new String(toByteArray()) with toString() in DummyXmlOutputStreamProvider
  • Applied to both morf-core (test) and morf-testsupport (main)
  • Both use platform's default charset; no functional change, just cleaner code

Test plan

  • All project tests pass (mvn test)

🤖 Generated with Claude Code

Your Name and others added 2 commits January 30, 2026 21:14
Replace new String(toByteArray()) with toString() for cleaner code.
Both use the platform's default charset; no functional change.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace new String(toByteArray()) with toString() for cleaner code.
Both use the platform's default charset; no functional change.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@michal-morzywolek
Copy link
Contributor Author

Hi @michalradziwon, my first claude commit. super basic. please approve

@sonarqubecloud
Copy link

Copy link
Contributor

@BrunoSMonteiro74 BrunoSMonteiro74 left a comment

Choose a reason for hiding this comment

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

Small change improvement

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