Paul King created GROOVY-12037:
----------------------------------
Summary: GDK: add toMutableList/toImmutableList/toImmutableSet
variants and deprecate toList(Stream) shim
Key: GROOVY-12037
URL: https://issues.apache.org/jira/browse/GROOVY-12037
Project: Groovy
Issue Type: New Feature
Reporter: Paul King
Assignee: Paul King
Add toMutableList(Stream), toImmutableList(...) and toImmutableSet(...) GDK
extensions across Stream/BaseStream/Iterable/Iterator/array receivers (26 new
methods total).
Deprecate the now-redundant StreamGroovyMethods.toList(Stream) shim (shadowed
by native Stream.toList() since JDK 16; users should call toMutableList(Stream)
when they need a mutable list).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)