lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1060610 - in /lucene/dev/branches/branch_3x: ./ lucene/ lucene/src/java/org/apache/lucene/util/SorterTemplate.java solr/
Date Tue, 18 Jan 2011 22:54:29 GMT
Author: uschindler
Date: Tue Jan 18 22:54:28 2011
New Revision: 1060610

URL: http://svn.apache.org/viewvc?rev=1060610&view=rev
Log:
fix javadoc

Modified:
    lucene/dev/branches/branch_3x/   (props changed)
    lucene/dev/branches/branch_3x/lucene/   (props changed)
    lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/SorterTemplate.java
    lucene/dev/branches/branch_3x/solr/   (props changed)

Modified: lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/SorterTemplate.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/SorterTemplate.java?rev=1060610&r1=1060609&r2=1060610&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/SorterTemplate.java
(original)
+++ lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/SorterTemplate.java
Tue Jan 18 22:54:28 2011
@@ -36,14 +36,14 @@ public abstract class SorterTemplate {
   protected abstract void swap(int i, int j);
   
   /** Compares slots {@code i} and {@code j} of you data.
-   * Should be implemented like <code><em>valueOf(j)</em>.compareTo(<em>valueOf(i)</em>)</code>
*/
+   * Should be implemented like <code><em>valueOf(i)</em>.compareTo(<em>valueOf(j)</em>)</code>
*/
   protected abstract int compare(int i, int j);
 
   /** Implement this method, that stores the value of slot {@code i} as pivot value */
   protected abstract void setPivot(int i);
   
   /** Implements the compare function for the previously stored pivot value.
-   * Should be implemented like <code>pivot.compareTo(<em>valueOf(i)</em>)</code>
*/
+   * Should be implemented like <code>pivot.compareTo(<em>valueOf(j)</em>)</code>
*/
   protected abstract int comparePivot(int j);
   
   /** Sorts via stable in-place InsertionSort algorithm



Mime
View raw message