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
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