[
https://issues.apache.org/jira/browse/WICKET-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712425#action_12712425
]
Erik van Oosten commented on WICKET-2288:
-----------------------------------------
BTW, the default ctor instances could be cached as well, but that is definitely
outside the scope of this issue.
> Refactor DefaultPageFactory#constructor
> ---------------------------------------
>
> Key: WICKET-2288
> URL: https://issues.apache.org/jira/browse/WICKET-2288
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4-RC3
> Reporter: Erik van Oosten
> Priority: Trivial
> Original Estimate: 0.03h
> Remaining Estimate: 0.03h
>
> Method DefaultPageFactory#constructor should loose the second parameter
> (argumentType) as it looks up cached Constructor instances without regard of
> the argument type. Instead the type (always PageParameters.class) should be
> hard coded in DefaultPageFactory#constructor.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.