Wicket
  1. Wicket
  2. WICKET-5038

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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.

        Activity

        Peter Parson created issue -
        Martin Grigorov made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Martin Grigorov [ mgrigorov ]
        Fix Version/s 6.7.0 [ 12323964 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development