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

Roy van Rijn commented on WICKET-1506:
--------------------------------------

The same thing goes for: 
Class<? extends Page> WebApplication.getHomePage()

And maybe some static String could be changed into enums? For example 
WebApplication.getConfigurationType(), only limited String alowed there, enums 
could make the code a bit safer.

> 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
>   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