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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.5.0
    • 6.7.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: