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

Fix UnsupportedOperationException when modifying headers #93

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

djeux
Copy link
Contributor

@djeux djeux commented Oct 9, 2024

Context

When headers are being modified after TkmsMessage::setHeaders have been called with List.of() we encounter an UnsupportedOperationException.
The fix overrides the lombok generated Setter to copy headers into a modifiable ArrayList

Checklist

@djeux djeux requested a review from a team as a code owner October 9, 2024 10:23
@djeux djeux merged commit 538d223 into master Oct 9, 2024
8 checks passed
@djeux djeux deleted the bugfix-immutable-headers branch October 9, 2024 11:10
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