[ 
https://issues.apache.org/jira/browse/WICKET-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roy van Rijn updated WICKET-1506:
---------------------------------

    Attachment: classextendspage_patch.txt

Added a patch for adding Class<? extends Page> to:
getPageClass functions
getHomePage functions
getLoginPage functions

(my first patch, is it ok?)

> More Generics (IBookmarkablePageRequestTarget)
> ----------------------------------------------
>
>                 Key: WICKET-1506
>                 URL: https://issues.apache.org/jira/browse/WICKET-1506
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.4-M1
>            Reporter: Roy van Rijn
>            Priority: Trivial
>         Attachments: classextendspage_patch.txt
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> With the current movement to Java 5 some more generics can be added.
> For example:
> IBookmarkablePageRequestTarget.getPageClass could return Class<? extends 
> Page> instead of just Class. This all helps the users and removes some casts.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to