Return-Path: X-Original-To: apmail-ace-commits-archive@www.apache.org Delivered-To: apmail-ace-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6020310CB0 for ; Thu, 17 Apr 2014 08:55:48 +0000 (UTC) Received: (qmail 14187 invoked by uid 500); 17 Apr 2014 08:54:32 -0000 Delivered-To: apmail-ace-commits-archive@ace.apache.org Received: (qmail 13454 invoked by uid 500); 17 Apr 2014 08:54:09 -0000 Mailing-List: contact commits-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ace.apache.org Delivered-To: mailing list commits@ace.apache.org Received: (qmail 13308 invoked by uid 99); 17 Apr 2014 08:54:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2014 08:54:06 +0000 Date: Thu, 17 Apr 2014 08:54:06 +0000 (UTC) From: "Marcel Offermans (JIRA)" To: commits@ace.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACE-404) Error in Comparator for sorting artifact recognizer: services are not really sorted depending on their SERVICE_RANKING MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACE-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Offermans updated ACE-404: --------------------------------- Fix Version/s: next > 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 > Fix For: next > > > 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.2#6252)