[
https://issues.apache.org/jira/browse/WICKET-5459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-5459.
-------------------------------------
Resolution: Fixed
Assignee: Martin Grigorov
Many of the setter methods in o.a.w.Component already were returning 'this' so
I went ahead and changed the return type for the ones that "it made sense".
> Use method chaining where it makes sense
> ----------------------------------------
>
> Key: WICKET-5459
> URL: https://issues.apache.org/jira/browse/WICKET-5459
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 6.12.0
> Reporter: Ilia Naryzhny
> Assignee: Martin Grigorov
> Priority: Minor
> Labels: usability
> Fix For: 7.0.0
>
> Attachments: fix-WICKET-5459.patch
>
>
> It's quite inconvinient to have Component.setMetaData which return void.
> For stacking purposes it'll be better to make this method return "this".
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)