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

Correct Palette generics to use 'extends'

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.4.17, 1.5-RC3
    • Fix Version/s: 1.5-RC4
    • Component/s: wicket-extensions
    • Labels:

      Description

      The constructor's for Palette say Model<List<T>> but would be better if it said Model<? extends List<? extends T>> since that allows a model of an ArrayList as a valid model.

        Attachments

        1. palette_extend_list_patch.txt
          0.8 kB
          Clint Checketts

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              checketts Clint Checketts
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified