Return-Path: Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: (qmail 10802 invoked from network); 17 Nov 2009 01:54:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Nov 2009 01:54:13 -0000 Received: (qmail 65546 invoked by uid 500); 17 Nov 2009 01:54:13 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 65486 invoked by uid 500); 17 Nov 2009 01:54:13 -0000 Mailing-List: contact solr-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-commits@lucene.apache.org Received: (qmail 65477 invoked by uid 99); 17 Nov 2009 01:54:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 01:54:13 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2009 01:54:08 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id F186223888D8; Tue, 17 Nov 2009 01:53:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r881090 - /lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/DistanceUtils.java Date: Tue, 17 Nov 2009 01:53:47 -0000 To: solr-commits@lucene.apache.org From: gsingers@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091117015347.F186223888D8@eris.apache.org> Author: gsingers Date: Tue Nov 17 01:53:47 2009 New Revision: 881090 URL: http://svn.apache.org/viewvc?rev=881090&view=rev Log: SOLR-1302: javadocs Modified: lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/DistanceUtils.java Modified: lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/DistanceUtils.java URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/DistanceUtils.java?rev=881090&r1=881089&r2=881090&view=diff ============================================================================== --- lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/DistanceUtils.java (original) +++ lucene/solr/trunk/src/java/org/apache/solr/search/function/distance/DistanceUtils.java Tue Nov 17 01:53:47 2009 @@ -25,12 +25,12 @@ /** * @see org.apache.solr.search.function.distance.HaversineFunction * - * @param x1 - * @param y1 - * @param x2 - * @param y2 - * @param radius - * @return + * @param x1 The x coordinate of the first point + * @param y1 The y coordinate of the first point + * @param x2 The x coordinate of the second point + * @param y2 The y coordinate of the second point + * @param radius The radius of the sphere + * @return The distance between the two points, as determined by the Haversine formula. */ public static double haversine(double x1, double y1, double x2, double y2, double radius){ double result = 0;