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

Make Objects.convertValue() generic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-RC3
    • 1.5-RC4
    • wicket
    • None

    Description

      o.a.w.util.lang.Objects.convertValue(Object, Class) should use generics similar how it was changed for IConverter.convertToObject().

      The bad news is that this change is changing the semantics of the function because currently it is sometimes returning the input object (if the conversion was not possible). The good news is that this modification only impacts a small part of wicket.

      Attachments

        1. WICKET-3680.patch
          5 kB
          Attila Király

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            akiraly Attila Király
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: