ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACE-404) Error in Comparator for sorting artifact recognizer: services are not really sorted depending on their SERVICE_RANKING
Date Fri, 08 Nov 2013 12:26:17 GMT

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

Marcel Offermans resolved ACE-404.
----------------------------------

    Resolution: Fixed

Did what was suggested in the discussion.

> Error in Comparator for sorting artifact recognizer: services are not really sorted depending
on their SERVICE_RANKING
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: ACE-404
>                 URL: https://issues.apache.org/jira/browse/ACE-404
>             Project: ACE
>          Issue Type: Bug
>          Components: Client Repository
>    Affects Versions: 1.0.0
>            Reporter: Wilfried Sibla
>            Assignee: Marcel Offermans
>
> ArtifactRepositoryImpl.SERVICE_RANK_COMPARATOR, line 542
> is: rank1 = (rankObject2 == null) ? 0 : ((Integer) rankObject2).intValue();
> must be: rank2 = (rankObject2 == null) ? 0 : ((Integer) rankObject2).intValue();



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message