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

CompoundRequestMapper sort broken with big negative compatibilityScore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.3
    • 1.5.4
    • wicket
    • None

    Description

      the following fails for RequestMapper with big negative compatibilityScore:

      public int compareTo(final MapperWithScore o)
      {
      return o.compatibilityScore - compatibilityScore;
      }

      see patch with testcase.

      Attachments

        1. wicket-request.patch
          3 kB
          Jan Riehn

        Activity

          People

            svenmeier Sven Meier
            jriehn Jan Riehn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: