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

Page Parameters needs to implement equals

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.5
    • 1.4.7
    • wicket
    • None
    • All

    Description

      PageParameters delegates the equals method to java.util.AbstractMap which is inadequate for the case when some of the values in the map are arrays, since AbstractMap's equals does an object.equals() on all values in the map, which doesnt work for arrays. Solution is to implement the equals method in PageParameters class which is array aware.

      Attaching a patch for the same.

      Attachments

        1. PageParameters.java.patch
          2 kB
          Rahul Pilani

        Activity

          People

            jdonnerstag Juegen Donnerstag
            rahulpilani Rahul Pilani
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: