Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

typo fix in javadoc

Daniel Naberccc027faba1c
diff --git a/src/java/org/apache/lucene/index/Term.java b/src/java/org/apache/lucene/index/Term.java
index b3731c87052..f1d5bad14c4 100644
--- a/src/java/org/apache/lucene/index/Term.java
+++ b/src/java/org/apache/lucene/index/Term.java
@@ -64,9 +64,9 @@ public final class Term implements Comparable, java.io.Serializable {
return compareTo((Term)other);
}
- /** Compares two terms, returning a negative integer iff this
- term belongs before the argument, zero iff this term is equal to the
- argument, and a positive integer iff this term belongs after the argument.
+ /** Compares two terms, returning a negative integer if this
+ term belongs before the argument, zero if this term is equal to the
+ argument, and a positive integer if this term belongs after the argument.
The ordering of terms is first by field, then by text.*/
public final int compareTo(Term other) {