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

Add equals() and hashcode() implementation to INamedParameters.NamedPair

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.7.0
    • Component/s: wicket

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              pparson Peter Parson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: