Take advantage of covariant return types in getSession()
--------------------------------------------------------

                 Key: WICKET-426
                 URL: https://issues.apache.org/jira/browse/WICKET-426
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 2.0
            Reporter: Jonathan Locke
            Priority: Minor
             Fix For: 2.0


It would be nice to be able to override getSession to return your own session 
subclass as soon as we required JDK 1.5 where this is possible.  To allow this, 
all we need to do is remove the final keyword from Component.getSession() at 
that time.

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