You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Parson (JIRA)" <ji...@apache.org> on 2013/02/12 18:13:13 UTC
[jira] [Created] (WICKET-5038) Add equals() and hashcode()
implementation to INamedParameters.NamedPair
Peter Parson created WICKET-5038:
------------------------------------
Summary: 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
Priority: Minor
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