You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The changes made for spring-projects/spring-framework#29972 mean that the list of values with a read-only HttpHeaders instance is now seen as an unmodifiable list when iterating using forEach. We can workaround this change by using addAll rather than putAll. addAll reuses the values from within the list whereas putAll reuses the list itself which is now unmodifiable.
The text was updated successfully, but these errors were encountered:
The changes made for spring-projects/spring-framework#29972 mean that the list of values with a read-only
HttpHeaders
instance is now seen as an unmodifiable list when iterating usingforEach
. We can workaround this change by usingaddAll
rather thanputAll
.addAll
reuses the values from within the list whereasputAll
reuses the list itself which is now unmodifiable.The text was updated successfully, but these errors were encountered: