Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 56064 invoked from network); 19 Feb 2007 01:29:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2007 01:29:32 -0000 Received: (qmail 52583 invoked by uid 500); 19 Feb 2007 01:29:34 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 52536 invoked by uid 500); 19 Feb 2007 01:29:34 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 52525 invoked by uid 99); 19 Feb 2007 01:29:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Feb 2007 17:29:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Feb 2007 17:29:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AB54C7141ED for ; Sun, 18 Feb 2007 17:29:05 -0800 (PST) Message-ID: <18000043.1171848545699.JavaMail.jira@brutus> Date: Sun, 18 Feb 2007 17:29:05 -0800 (PST) From: "Paul Cowan (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-807) Minor improvement to JavaDoc for ScoreDocComparator In-Reply-To: <28022543.1171848425494.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Cowan updated LUCENE-807: ------------------------------ Attachment: ScoreDocComparator.patch Amends javadoc. > Minor improvement to JavaDoc for ScoreDocComparator > --------------------------------------------------- > > Key: LUCENE-807 > URL: https://issues.apache.org/jira/browse/LUCENE-807 > Project: Lucene - Java > Issue Type: Improvement > Components: Javadocs > Affects Versions: 2.1 > Reporter: Paul Cowan > Priority: Trivial > Attachments: ScoreDocComparator.patch > > > About to attach a very small patch for ScoreDocComparator which broadens the contract of compare(ScoreDoc, ScoreDoc) to follow the same semantics as java.util.Comparator.compare() -- allow any integer to be returned, rather than specifically -1/0/-1. > Note that this behaviour must already be acceptable; the anonymous ScoreDocComparators returned by FieldSortedHitQueue.comparatorStringLocale() already return the result of Collator.compare(), which is not tied to this -1/0/1 restriction. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org