Skip to content

2023-July-29 - 2.6.14453

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 Jul 18:43
566672a
Make CollectionUtils guarantee mutable return value. (#11832)

Previously, they used Collectors.toList() which did not provide any such guarantee in its API docs, but behind-the-scenes was implemented as returning a mutable collection.

As such, there's likely triplea code that depends on that implementation detail. This change makes that implementation detail an API guarantee.

Also cleans up a couple code places that were copying the result and a few other clean ups.