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

ASF subversion and git services commented on WICKET-6203:
---------------------------------------------------------

Commit a0c43bb9808c5e6b916e6461b357c3eaa4fa84fc in wicket's branch 
refs/heads/master from [~noobymatze]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=a0c43bb ]

WICKET-6203 rework IModel#mapWith


> rework IModel#mapWith
> ---------------------
>
>                 Key: WICKET-6203
>                 URL: https://issues.apache.org/jira/browse/WICKET-6203
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 8.0.0-M1
>            Reporter: Matthias Metzger
>            Priority: Trivial
>              Labels: newbie
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> The IModel#mapWith method actually combines two models using a BiFunction. 
> Thus another name like 'combineWith' would be much more descriptive of the 
> actual task. 
> Furthermore providing the BiFunction to combine the two models as the first 
> argument of 'mapWith'/'combineWith' might obscure the other Model used for 
> longer lambda expressions, since it will be provided after the lambda 
> expression. It might be better to provide the other Model as a first argument.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to