bengbengbalabalabeng opened a new pull request, #668: URL: https://github.com/apache/fesod/pull/668
<!-- Thanks very much for contributing to Apache Fesod (Incubating)! Please make sure that your code changes are covered with tests. And in case of new features or big changes remember to adjust the documentation. Feel free to ping committers for the review! In case of an existing issue, reference it using one of the following: Closed: #ISSUE Related: #ISSUE --> ## Purpose of the pull request Fixed: #665 Avoid `UnsupportedOperationException` when using immutable list (such as: `Arrays.asList`、`List.of` or `Collections.unmodifiableList` ...) in dynamic header ## What's changed? - Modified `AbstractParameterBuilder#head` to always convert `head` into a mutable deep copy, preventing `UnsupportedOperationException` with immutable lists. - Added unit tests (`ImmutableListHeadDataTest`). ## Checklist - [x] I have read the [Contributor Guide](https://fesod.apache.org/community/contribution/). - [x] I have written the necessary doc or comment. - [x] I have added the necessary unit tests and all cases have passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
