[ https://issues.apache.org/jira/browse/CAUSEWAY-3821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andi Huber resolved CAUSEWAY-3821. ---------------------------------- Resolution: Resolved > [Commons] Can<T> fix inconsitent API > ------------------------------------ > > Key: CAUSEWAY-3821 > URL: https://issues.apache.org/jira/browse/CAUSEWAY-3821 > Project: Causeway > Issue Type: Improvement > Components: Commons > Reporter: Andi Huber > Assignee: Andi Huber > Priority: Major > Fix For: 3.3.0, 2.3.0 > > > {code:java} > Can<T>.toList() > {code} > returns an unmodifiable List, as does the Stream API. > However > {code:java} > Can<T>.toMap() > {code} > returns a modifiable Map. This needs to be fixed. (Unfortunately that's a > breaking change) -- This message was sent by Atlassian Jira (v8.20.10#820010)