You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/08/01 17:47:03 UTC

[jira] [Created] (WICKET-4688) Make use of the generic type passed to IPageFactory#newPage() and return the typed Page

Martin Grigorov created WICKET-4688:
---------------------------------------

             Summary: Make use of the generic type passed to IPageFactory#newPage() and return the typed Page
                 Key: WICKET-4688
                 URL: https://issues.apache.org/jira/browse/WICKET-4688
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.0.0-beta3
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov
            Priority: Minor


Currently the signature of IPageFactory#newPage is:

<C extends IRequestablePage> IRequestablePage newPage(Class<C>)

It would be better to be:
<C extends IRequestablePage> C newPage(Class<C>)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4688) Make use of the generic type passed to IPageFactory#newPage() and return the typed Page

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4688.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0
    
> Make use of the generic type passed to IPageFactory#newPage() and return the typed Page
> ---------------------------------------------------------------------------------------
>
>                 Key: WICKET-4688
>                 URL: https://issues.apache.org/jira/browse/WICKET-4688
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.0.0-beta3
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.0.0
>
>
> Currently the signature of IPageFactory#newPage is:
> <C extends IRequestablePage> IRequestablePage newPage(Class<C>)
> It would be better to be:
> <C extends IRequestablePage> C newPage(Class<C>)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira