[ 
https://issues.apache.org/jira/browse/CAUSEWAY-3821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17889117#comment-17889117
 ] 

Andi Huber commented on CAUSEWAY-3821:
--------------------------------------

The break is against recent commits that added Can.toMap(..) . However we have 
not yet released those, so perhaps we should include CAUSEWAY-3821 with the 
upcoming release.

> [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: 2.2.0, 3.2.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)

Reply via email to