You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/02/19 16:53:12 UTC
[jira] [Resolved] (WICKET-5038) Add equals() and hashcode()
implementation to INamedParameters.NamedPair
[ https://issues.apache.org/jira/browse/WICKET-5038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-5038.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.7.0
Assignee: Martin Grigorov
> Add equals() and hashcode() implementation to INamedParameters.NamedPair
> ------------------------------------------------------------------------
>
> Key: WICKET-5038
> URL: https://issues.apache.org/jira/browse/WICKET-5038
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 6.5.0
> Reporter: Peter Parson
> Assignee: Martin Grigorov
> Priority: Minor
> Labels: equality, parameters
> Fix For: 6.7.0
>
>
> It would be handy to have an equals() and hascode() implementation based on key and value, so that it is possible to do things like
> pageParameters.getAllNamed().contains(myNamedPair)
> In case you are interested:
> My current use case is that the page should check whether it is actually called with the pageparameters needed (i.e. using the unique, canonical URL), however ignoring some special params.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira