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

Listener interfaces' methods should use empty default methods for friendlier extension

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 8.0.0-M2
    • 8.0.0-M3
    • wicket
    • None

    Description

      Discussion at dev@: http://markmail.org/message/zhpm56mdibeu6gma

      Interfaces like IApplicationListener may provide default implementations of their methods so that classes implementing them could override only the methods they are interested in.
      This way there is no need of adapter classes.
      This way they will be very similar to abstract classes but by being interfaces they will be easier to be proxied,

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: