You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/11 13:32:52 UTC

[jira] [Resolved] (WICKET-4217) CompoundRequestMapper sort broken with big negative compatibilityScore

     [ https://issues.apache.org/jira/browse/WICKET-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier resolved WICKET-4217.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.4

applied patch.
                
> CompoundRequestMapper sort broken with big negative compatibilityScore
> ----------------------------------------------------------------------
>
>                 Key: WICKET-4217
>                 URL: https://issues.apache.org/jira/browse/WICKET-4217
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.3
>            Reporter: Jan Riehn
>            Assignee: Sven Meier
>             Fix For: 1.5.4
>
>         Attachments: wicket-request.patch
>
>
> the following fails for RequestMapper with big negative compatibilityScore:
> public int compareTo(final MapperWithScore o)
> {
> 	return o.compatibilityScore - compatibilityScore;
> }
> see patch with testcase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira