Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-426

Take advantage of covariant return types in getSession()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0 branch (discontinued)
    • 1.3.0-beta3
    • wicket
    • None

    Description

      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.

      Attachments

        Activity

          People

            almaw Alastair Maw
            jonathan.locke Jonathan Locke
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: