You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Rahul Pilani (JIRA)" <ji...@apache.org> on 2010/01/25 04:56:34 UTC

[jira] Updated: (WICKET-2698) Page Parameters needs to implement equals

     [ https://issues.apache.org/jira/browse/WICKET-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rahul Pilani updated WICKET-2698:
---------------------------------

    Attachment: PageParameters.java.patch

Patch to implement an equals method on PageParameters

> Page Parameters needs to implement equals
> -----------------------------------------
>
>                 Key: WICKET-2698
>                 URL: https://issues.apache.org/jira/browse/WICKET-2698
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.5
>         Environment: All
>            Reporter: Rahul Pilani
>         Attachments: PageParameters.java.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.