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

ConverterLocator#get(Class<T>) shouldn't be final

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.4.4, 1.4.5, 1.4.6, 1.4.7
    • 1.4.8
    • wicket
    • None

    Description

      ConverterLocator#get(Class<T>) shouldn't be final in order to let subclasses write a more sophisticated behaviour (like returning a superclass converter when requesting a converter for a class that doesn't have one registered). Also would be necessary to give protected visibility to DefaultConverter inner class.

      To walkthrough the problem composition can be used instead of inheritance.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            martin.bigio Martín Bigio
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: